hyprland config
This commit is contained in:
179
hyprland/hypr/hyprlandnew.conf
Normal file
179
hyprland/hypr/hyprlandnew.conf
Normal file
@@ -0,0 +1,179 @@
|
||||
exec-once = wl-clipboard-history -t
|
||||
exec-once = ~/.config/hypr/scripts/.autostart
|
||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||
exec-once = swaybg -m fill -i $HOME/Pictures/wallpapers/nostalgic-memories5.jpg
|
||||
exec-once = waybar
|
||||
|
||||
# env = LIBVA_DRIVER_NAME, nvidia
|
||||
env = XDG_SESSION_TYPE, wayland
|
||||
env = __GL_GSYNC_ALLOWED, 0
|
||||
# env = __GLX_VENDOR_LIBRARY_NAME, nvidia
|
||||
# env = GBM_BACKEND, nvidia-drm
|
||||
env = WLR_NO_HARDWARE_CURSORS, 1
|
||||
env = XCURSOR_THEME, Breeze
|
||||
env = XCURSOR_SIZE, 16
|
||||
|
||||
$browser = firefox
|
||||
$explorer = thunar
|
||||
$term = kitty
|
||||
$discord = discord
|
||||
|
||||
monitors {
|
||||
# you can use the command 'hyprctl monitors' to list your currently using monitors.
|
||||
# use wlr-randr to list all available monitors
|
||||
# more examples at https://wiki.hyprland.org/Configuring/Monitors/
|
||||
|
||||
# left monitor
|
||||
# monitor = HDMI-A-1, 1920x1080@60, 0x0, 1
|
||||
|
||||
# right monitor
|
||||
monitor = eDP-1, 1920x1200@60, 1920x0, 1.1
|
||||
}
|
||||
|
||||
input {
|
||||
kb_layout = us, br # keyboard layout en-us and pt-br
|
||||
kb_options = grp:alt_shift_toggle # toggle between keyboard layouts using ALT + SHIFT
|
||||
follow_mouse = 1
|
||||
sensitivity = -0.2 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
general {
|
||||
# gaps
|
||||
gaps_in=3
|
||||
gaps_out=6
|
||||
|
||||
# border
|
||||
border_size=2
|
||||
col.active_border=0xff2aabd4 0xff2bc1ae 0deg
|
||||
col.inactive_border=0xfff4564
|
||||
no_border_on_floating = true
|
||||
|
||||
# layout
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
dwindle {
|
||||
no_gaps_when_only = false
|
||||
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # you probably want this
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
mouse_move_enables_dpms = true
|
||||
enable_swallow = true
|
||||
swallow_regex = ^(kitty)$
|
||||
}
|
||||
|
||||
decoration {
|
||||
# border
|
||||
rounding = 2
|
||||
multisample_edges = true
|
||||
|
||||
# opacity
|
||||
active_opacity = 0.85
|
||||
inactive_opacity = 0.80
|
||||
|
||||
# blur
|
||||
blur {
|
||||
enabled = true
|
||||
size = 8
|
||||
passes = 2
|
||||
new_optimizations = true
|
||||
}
|
||||
|
||||
# shadow
|
||||
drop_shadow = true
|
||||
shadow_ignore_window = true
|
||||
shadow_offset = 4 4
|
||||
shadow_range = 10
|
||||
shadow_render_power = 2
|
||||
col.shadow = 0x66000000
|
||||
|
||||
blurls = gtk-layer-shell
|
||||
blurls = lockscreen
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
|
||||
bezier = overshot,0.05,0.9,0.1,1.1
|
||||
bezier = smoothOut, 0.36, 0, 0.66, -0.56
|
||||
bezier = smoothIn, 0.25, 1, 0.5, 1
|
||||
bezier = linear, 0.5, 0.5, 0.5, 0.5
|
||||
|
||||
animation = windows, 1, 2, overshot, popin
|
||||
animation = windowsIn, 1, 4, smoothIn, popin
|
||||
animation = windowsOut, 1, 4, smoothIn, popin
|
||||
animation = windowsMove, 1, 4, default, popin
|
||||
|
||||
animation = border, 1, 10, default
|
||||
animation = fade, 1, 10, smoothIn
|
||||
animation = fadeDim, 1, 10, smoothIn
|
||||
|
||||
animation = workspaces, 1, 4, smoothIn, slide
|
||||
|
||||
animation = borderangle, 1, 20, linear, loop
|
||||
}
|
||||
|
||||
windowrules {
|
||||
# opacity
|
||||
windowrule = opacity 1.0 override 1.0 override, ^(com.obsproject.Studio)$
|
||||
windowrule = opacity 1.0 override 1.0 override, ^(com.stremio.stremio)$
|
||||
windowrule = opacity 1.0 override 1.0 override, ^(libreoffice-writer)$
|
||||
windowrule = opacity 1.0 override 1.0 override, ^(discord)$
|
||||
windowrule = opacity 1.0 override 1.0 override, ^(feh)$
|
||||
windowrule = opacity 1.0 override 1.0 override, ^(firefox)$
|
||||
windowrule = opacity 1.0 override 1.0 override, ^(Google-chrome)$
|
||||
windowrule = opacity 1.0 override 1.0 override, ^(Gimp)$
|
||||
windowrule = opacity 1.0 override 1.0 override, ^(mpv)$
|
||||
windowrule = opacity 1.0 override 1.0 override, ^(Rofi)$
|
||||
|
||||
# float
|
||||
windowrule = float, confirm
|
||||
windowrule = float, confirmreset
|
||||
windowrule = float, dialog
|
||||
windowrule = float, download
|
||||
windowrule = float, error
|
||||
windowrule = float, feh
|
||||
windowrule = float, file_progress
|
||||
windowrule = float, file-roller
|
||||
windowrule = float, Lxappearance
|
||||
windowrule = float, notification
|
||||
windowrule = float, splash
|
||||
windowrule = float, xfce4-appearance-settings
|
||||
windowrule = float, title:branchdialog
|
||||
windowrule = float, title:^(btop)$
|
||||
windowrule = float, title:^(Media viewer)$
|
||||
windowrule = float, title:^(Network Connections)$
|
||||
windowrule = float, title:Open File
|
||||
windowrule = float, title:^(Volume Control)$
|
||||
|
||||
# fullscreen
|
||||
windowrule = fullscreen, wlogout
|
||||
|
||||
# idleinhibit
|
||||
windowrule = idleinhibit focus, mpv
|
||||
windowrule = idleinhibit fullscreen, $browser
|
||||
|
||||
# size
|
||||
windowrule = size 400 600, title:^(Network Connections)$
|
||||
windowrule = size 980 530, title:^(btop)$
|
||||
windowrule = size 900 400, title:^(Volume Control)$
|
||||
windowrule = size 1280 720, title:^(feh)$
|
||||
|
||||
# move
|
||||
windowrule = move 3% 35, title:^(btop)$
|
||||
windowrule = move 70% 35, title:^(Network Connections)$
|
||||
windowrule = move 45% 35, title:^(Volume Control)$
|
||||
|
||||
# animations
|
||||
windowrule = animation slide, title:^(btop)$
|
||||
windowrule = animation slide, title:^(Network Connections)$
|
||||
windowrule = animation slide, title:^(Volume Control)$
|
||||
windowrule = animation slide, title:^(Logout)$
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user