diff --git a/dot_config/hypr/hyprland.d/60-rules.conf b/dot_config/hypr/hyprland.d/60-rules.conf index 62d6792..11cdf53 100644 --- a/dot_config/hypr/hyprland.d/60-rules.conf +++ b/dot_config/hypr/hyprland.d/60-rules.conf @@ -3,10 +3,10 @@ # uncomment all if you wish to use that. # workspace = w[tv1], gapsout:0, gapsin:0 # workspace = f[1], gapsout:0, gapsin:0 -# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] -# windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] -# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] -# windowrulev2 = rounding 0, floating:0, onworkspace:f[1] +# windowrule = match:float 0, match:workspace w[tv1], border_size 0 +# windowrule = match:float 0, match:workspace w[tv1], rounding 0 +# windowrule = match:float 0, match:workspace f[1], border_size 0 +# windowrule = match:float 0, match:workspace f[1], rounding 0 ############## ### GROUPS ### @@ -63,8 +63,8 @@ group { # Example windowrule v1 # windowrule = float, ^(kitty)$ -# Example windowrule v2 -# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ +# Example modern windowrule +# windowrule = match:class ^(kitty)$, match:title ^(kitty)$, float on # Ignore maximize requests from apps. You'll probably like this. windowrule = match:class .*, suppress_event maximize @@ -75,6 +75,11 @@ windowrule = match:xwayland 1, no_initial_focus on ## ========== Special Workspaces ========== workspace = special:passwordmgr, on-created-empty:bitwarden-desktop + +## ========== Workspace Layout Overrides ========== +workspace = name:comms, layout:scrolling +workspace = name:steam, layout:scrolling + #windowrule = float, class:org.keepassxc.KeePassXC #windowrule = noscreenshare, class:org.keepassxc.KeePassXC #windowrule = size 60% 60%, class:org.keepassxc.KeePassXC @@ -96,8 +101,8 @@ windowrule = match:class ^(@joplin/app-desktop)$, workspace name:joplin windowrule = match:class Spotify, workspace 10 ### ========== Development ========== -#windowrulev2 = float, class:jetbrains-webstorm, title:Welcome to WebStorm -#windowrulev2 = size 1080 720, class:jetbrains-webstorm, title:Welcome to WebStorm +#windowrule = match:class jetbrains-webstorm, match:title Welcome to WebStorm, float on +#windowrule = match:class jetbrains-webstorm, match:title Welcome to WebStorm, size 1080 720 ## ========== Gaming ========== # Steam @@ -121,9 +126,7 @@ windowrule = match:class com.gabm.satty, float on windowrule = match:class com.gabm.satty, min_size 700 400 # Blur swaync -#layerrule = blur, swaync-control-center -#layerrule = blur, swaync-notification-window -#layerrule = ignorezero, swaync-control-center -#layerrule = ignorezero, swaync-notification-window -#layerrule = ignorealpha, swaync-control-center -#layerrule = ignorealpha, swaync-notification-window +#layerrule = blur on, match:namespace swaync-control-center +#layerrule = blur on, match:namespace swaync-notification-window +#layerrule = ignore_alpha 0, match:namespace swaync-control-center +#layerrule = ignore_alpha 0, match:namespace swaync-notification-window diff --git a/dot_config/hypr/hyprland.d/70-keybinds.conf.tmpl b/dot_config/hypr/hyprland.d/70-keybinds.conf.tmpl index 7eb452e..de83d47 100644 --- a/dot_config/hypr/hyprland.d/70-keybinds.conf.tmpl +++ b/dot_config/hypr/hyprland.d/70-keybinds.conf.tmpl @@ -97,6 +97,12 @@ bind = $mainMod SHIFT, Tab, layoutmsg, addmaster bind = $mainMod CTRL, Tab, layoutmsg, removemaster bind = $mainMod CTRL SHIFT, Tab, layoutmsg, rollnext +# Scrolling layout +bind = $mainMod, comma, layoutmsg, move -col +bind = $mainMod, period, layoutmsg, move +col +bind = $mainMod CTRL, comma, layoutmsg, fit active +bind = $mainMod CTRL, period, layoutmsg, togglefit + # MOVE FOCUS with mainMod + vim keys bind = $mainMod, H, movefocus, l bind = $mainMod, L, movefocus, r diff --git a/dot_local/share/docs/external_hyprland.wiki b/dot_local/share/docs/external_hyprland.wiki index 632b8a1..61de269 160000 --- a/dot_local/share/docs/external_hyprland.wiki +++ b/dot_local/share/docs/external_hyprland.wiki @@ -1 +1 @@ -Subproject commit 632b8a1c28efe365cb67b6298933fd2249bdb9f1 +Subproject commit 61de26915089a112b4845d2367ba2335fd96b841