summaryrefslogtreecommitdiff
path: root/hypr/hyprland.conf
diff options
context:
space:
mode:
Diffstat (limited to 'hypr/hyprland.conf')
-rw-r--r--hypr/hyprland.conf57
1 files changed, 42 insertions, 15 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index 3e9547a..4916216 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -24,7 +24,7 @@ exec-once = xrdb -load "$XDG_CONFIG_HOME"/X11/xresources
exec-once = com.github.wwmm.easyeffects
exec-once = systemctl --user start dunst
exec-once = systemctl --user start hypridle
-#exec-once = mpd
+exec-once = mpd
#}}}
#{{{ env
@@ -105,7 +105,7 @@ misc {
disable_hyprland_logo = true
disable_splash_rendering = true
enable_swallow = true
- swallow_regex = ^(st-256color)$
+ swallow_regex = ^(kitty)$
swallow_exception_regex = ^(wev|.*ueberzug|n?vi?m? .*)$
vfr = true
vrr = 3
@@ -203,10 +203,28 @@ plugin {
#{{{ Windowrules
# Example windowrule v1
-# windowrule = float, ^(st)$
+# windowrule = float, ^(kitty)$
# Example windowrule v2
-# windowrule = float, class:^(st)$, title:^(st)$
+# windowrule = float, class:^(kitty)$, title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
+windowrule = fullscreen, class:^(Xephyr)$
+windowrule = float, title:^(LibreWolf - Choose User Profile)$
+windowrule = float, class:^(xdg-desktop-portal-gtk)
+windowrule = float, title:^(UNDERTALE)$
+windowrule = float, class:^(Tk)$
+windowrule = float, class:^(lxqt-policykit-agent)$
+windowrule = float, class:^(Kdenlive)$
+windowrule = stayfocused, title:^()$, class:^(steam)$
+windowrule = minsize 1 1, title:^()$, class:^(steam)$
+windowrule = stayfocused, title:^(menu)$,class:^(yabridge-host.exe.so)$
+windowrule = minsize 1 1, title:^(menu)$,class:^(yabridge-host.exe.so)$
+windowrule = float, class:^(yabridge-host.exe.so)$, title:^(menu)$
+windowrule = float, floating:0, title:^(menu*)
+windowrule = workspace 2, title:^(REAPER .*initializing.*)$
+windowrule = tile, class:^(REAPER)$, title:^(.*REAPER v[0-9.]* - Licensed for personal/small business use)$
+windowrule = tile, class:^(WebApp-Qobuz[0-9]*)$
+windowrule = float, title:^(menu)$
+windowrule = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$
#}}}
#{{{ Mods
@@ -239,17 +257,26 @@ $secdMod = ALT
# hyprscrolling layout binds
#bind = $mainMod+SHIFT, H, layoutmsg, move -1 #HYPRSCROLLING
#bind = $mainMod+SHIFT, L, layoutmsg, move +1 #HYPRSCROLLING
-bind = $mainMod+SHIFT, H, layoutmsg, movewindowto l #HYPRSCROLLING
-bind = $mainMod+SHIFT, L, layoutmsg, movewindowto r #HYPRSCROLLING
-bind = $mainMod+SHIFT, J, layoutmsg, colresize -conf #HYPRSCROLLING
-bind = $mainMod+SHIFT, K, layoutmsg, colresize +conf #HYPRSCROLLING
+bind = $mainMod+ALT, H, layoutmsg, movewindowto l #HYPRSCROLLING
+bind = $mainMod+ALT, L, layoutmsg, movewindowto r #HYPRSCROLLING
+bind = $mainMod+SHIFT, H, movewindow, l #HYPRSCROLLING
+bind = $mainMod+SHIFT, L, movewindow, r #HYPRSCROLLING
+bind = $mainMod+SHIFT, K, movewindow, u #HYPRSCROLLING
+bind = $mainMod+SHIFT, J, movewindow, d #HYPRSCROLLING
bind = $mainMod, H, layoutmsg, focus l #HYPRSCROLLING
-bind = $mainMod, J, layoutmsg, focus u #HYPRSCROLLING
-bind = $mainMod, K, layoutmsg, focus d #HYPRSCROLLING
+bind = $mainMod, J, layoutmsg, focus d #HYPRSCROLLING
+bind = $mainMod, K, layoutmsg, focus u #HYPRSCROLLING
bind = $mainMod, L, layoutmsg, focus r #HYPRSCROLLING
+bind = $mainMod+SHIFT, R, layoutmsg, colresize +conf #HYPRSCROLLING
bind = $mainMod+SHIFT, Return, layoutmsg, promote #HYPRSCROLLING
#}}}
+#{{{ tab binds
+bind = $mainMod+ALT, O, togglegroup
+bind = $mainMod+ALT, J, changegroupactive, f
+bind = $mainMod+ALT, K, changegroupactive, b
+#}}}
+
#{{{ Group binds
# Group binds
#bind = $mainMod CONTROL, G, togglegroup,
@@ -369,8 +396,8 @@ submap = reset
#}}}
#{{{ Menu bindings
-bind = $mainMod, R, exec, sh -c "tofi-drun --drun-launch=true -c $HOME/.config/tofi/themes/dmenu_vertical"
-bind = $mainMod, D, exec, sh -c "$(tofi-run -c $HOME/.config/tofi/themes/dmenu_vertical)"
+bind = $mainMod, R, exec, sh -c "tofi-drun -c ~/.config/tofi/themes/dmenu_vertical --drun-launch=true"
+bind = $mainMod, D, exec, sh -c "exec $(tofi-run -c ~/.config/tofi/themes/dmenu_vertical)"
bind = $mainMod $secdMod, Q, exec, qbc
bind = $mainMod $secdMod, W, exec, lwc
bind = $mainMod $secdMod, E, exec, mbc
@@ -384,14 +411,14 @@ bind = $mainMod $secdMod, P, exec, passmenu
#}}}
#{{{ Misc bindings
-bind = $mainMod, Return, exec, st
-bind = $mainMod $secdMod, F, exec, st lf
+bind = $mainMod, Return, exec, kitty
+bind = $mainMod $secdMod, F, exec, kitty lf
bind = $mainMod, W, exec, pkill -USR1 waybar
bind = $mainMod, Q, exec, loginctl lock-session
bind = $mainMod $secdMod CONTROL, Q, exec, systemctl suspend
bind = $mainMod SHIFT, G, exec, get-app-id
bind = $mainMod Control, M, exec, volsv -m
-bind = $mainMod, Comma, exec, acpi-notify.sh
+#bind = $mainMod, Comma, exec, acpi-notify.sh
#bind = $mainMod CONTROL, R, exec, startx -- /usr/bin/Xephyr -screen 1920x1080 :1
#}}}