summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-03-23 18:04:57 -0500
committerzachir <zachir@librem.one>2024-03-23 18:16:22 -0500
commit144724f2784d3ea39f35a35250b66c38a4507024 (patch)
treebbbcf97281f2f70de21eb7395234fc63db52e0d3
parentf56d144efa5a36af5c55d54bb42d7f9bfd1c00d5 (diff)
Update hyprland config
- Remove workspace module - Update window rules - Update looks
-rw-r--r--hypr/hyprland.conf135
1 files changed, 94 insertions, 41 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index c3b1e2b..7cd4959 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -31,6 +31,7 @@ input {
numlock_by_default = true
scroll_method = "2fg"
follow_mouse = 1
+ mouse_refocus = false
touchpad {
natural_scroll = no
}
@@ -116,7 +117,7 @@ master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_is_master = false
new_on_top = true
- no_gaps_when_only = true
+ no_gaps_when_only = false
orientation = left
inherit_fullscreen = true
}
@@ -138,11 +139,11 @@ device:epic mouse V1 {
#}}}
#{{{ plugin options
-plugin {
- split-monitor-workspaces {
- count = 9
- }
-}
+#plugin {
+# split-monitor-workspaces {
+# count = 9
+# }
+#}
#}}}
#{{{ Windowrules
@@ -156,11 +157,27 @@ windowrule = fullscreen, ^(Xephyr)$
windowrule = float, title:^(LibreWolf - Choose User Profile)$
windowrule = float, class:^(xdg-desktop-portal-gtk)
windowrule = float, class:^(Tk)$
+windowrule = workspace 2, title:^(REAPER .*initializing.*)$
+windowrulev2 = stayfocused, title:^()$,class:^(steam)$
+windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
+windowrulev2 = stayfocused, title:^(menu)$,class:^(yabridge-host.exe.so)$
+windowrulev2 = minsize 1 1, title:^(menu)$,class:^(yabridge-host.exe.so)$
windowrulev2 = tile, class:^(REAPER)$, title:^(.*REAPER v[0-9.]* - Licensed for personal/small business use)$
windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$
-windowrulev2 = nofocus, class:^(yabridge-host.exe.so)$, title:^(\s*)$
-windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Snap/Grid Settings)$
-windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Routing for track [0-9]*)$
+#windowrulev2 = nofocus, class:^(yabridge-host.exe.so)$, title:^(\s*)$
+#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Snap/Grid Settings)$
+#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Routing for track [0-9]*)$
+#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Metronome and pre-roll settings)$
+windowrulev2 = tile, class:^(WebApp-Qobuz[0-9]*)$
+#windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(menu)$
+#windowrulev2 = nofocus, class:^(yabridge-host.exe.so)$, title:^(\s*)$
+#windowrulev2 = move cursor -50% -50%, class:^(yabridge-host.exe.so)$, title:^(\s*)$
+#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Snap/Grid Settings)$
+#windowrulev2 = move cursor -50% -50%, class:^(REAPER)$, title:^(Routing for track [0-9]*)$
+#windowrulev2 = float,floating:0, title:^(menu)$
+#windowrulev2 = forceinput, title:^(menu)$
+#windowrulev2 = windowdance, title:^(menu)$
+#windowrulev2 = nofocus, title:^(menu)$, class:^(yabridge\-host\.exe\.so)$
#}}}
#{{{ Mods
@@ -232,40 +249,76 @@ bind = $mainMod, N, exec, pypr toggle_special
bind = $mainMod SHIFT, N, togglespecialworkspace, minimized
#}}}
-#{{{ Workspace binds (implied using split-monitor-workspaces plugin!)
+#{{{ Workspace binds (using split-monitor-workspaces plugin!)
+## Switch workspaces with mainMod + [0-9]
+#bind = $mainMod, 1, split-workspace, 1
+#bind = $mainMod, 2, split-workspace, 2
+#bind = $mainMod, 3, split-workspace, 3
+#bind = $mainMod, 4, split-workspace, 4
+#bind = $mainMod, 5, split-workspace, 5
+#bind = $mainMod, 6, split-workspace, 6
+#bind = $mainMod, 7, split-workspace, 7
+#bind = $mainMod, 8, split-workspace, 8
+#bind = $mainMod, 9, split-workspace, 9
+## Move active window to a workspace with mainMod + SHIFT + [0-9]
+#bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
+#bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
+#bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
+#bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
+#bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5
+#bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6
+#bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7
+#bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8
+#bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9
+#bind = $mainMod CONTROL SHIFT, 1, split-movetoworkspace, 1
+#bind = $mainMod CONTROL SHIFT, 2, split-movetoworkspace, 2
+#bind = $mainMod CONTROL SHIFT, 3, split-movetoworkspace, 3
+#bind = $mainMod CONTROL SHIFT, 4, split-movetoworkspace, 4
+#bind = $mainMod CONTROL SHIFT, 5, split-movetoworkspace, 5
+#bind = $mainMod CONTROL SHIFT, 6, split-movetoworkspace, 6
+#bind = $mainMod CONTROL SHIFT, 7, split-movetoworkspace, 7
+#bind = $mainMod CONTROL SHIFT, 8, split-movetoworkspace, 8
+#bind = $mainMod CONTROL SHIFT, 9, split-movetoworkspace, 9
+#bind = $mainMod, mouse_down, split-workspace, e+1
+#bind = $mainMod, mouse_up, split-workspace, e-1
+#bind = $mainMod, comma, split-changemonitor, +1
+#bind = $mainMod, period, split-changemonitor, -1
+#}}}
+
+#{{{ Workspace binds (not using split-monitor-workspaces plugin!)
# Switch workspaces with mainMod + [0-9]
-bind = $mainMod, 1, split-workspace, 1
-bind = $mainMod, 2, split-workspace, 2
-bind = $mainMod, 3, split-workspace, 3
-bind = $mainMod, 4, split-workspace, 4
-bind = $mainMod, 5, split-workspace, 5
-bind = $mainMod, 6, split-workspace, 6
-bind = $mainMod, 7, split-workspace, 7
-bind = $mainMod, 8, split-workspace, 8
-bind = $mainMod, 9, split-workspace, 9
+bind = $mainMod, 1, workspace, 1
+bind = $mainMod, 2, workspace, 2
+bind = $mainMod, 3, workspace, 3
+bind = $mainMod, 4, workspace, 4
+bind = $mainMod, 5, workspace, 5
+bind = $mainMod, 6, workspace, 6
+bind = $mainMod, 7, workspace, 7
+bind = $mainMod, 8, workspace, 8
+bind = $mainMod, 9, workspace, 9
# Move active window to a workspace with mainMod + SHIFT + [0-9]
-bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
-bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
-bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
-bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
-bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5
-bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6
-bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7
-bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8
-bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9
-bind = $mainMod CONTROL SHIFT, 1, split-movetoworkspace, 1
-bind = $mainMod CONTROL SHIFT, 2, split-movetoworkspace, 2
-bind = $mainMod CONTROL SHIFT, 3, split-movetoworkspace, 3
-bind = $mainMod CONTROL SHIFT, 4, split-movetoworkspace, 4
-bind = $mainMod CONTROL SHIFT, 5, split-movetoworkspace, 5
-bind = $mainMod CONTROL SHIFT, 6, split-movetoworkspace, 6
-bind = $mainMod CONTROL SHIFT, 7, split-movetoworkspace, 7
-bind = $mainMod CONTROL SHIFT, 8, split-movetoworkspace, 8
-bind = $mainMod CONTROL SHIFT, 9, split-movetoworkspace, 9
-bind = $mainMod, mouse_down, split-workspace, e+1
-bind = $mainMod, mouse_up, split-workspace, e-1
-bind = $mainMod, comma, split-changemonitor, +1
-bind = $mainMod, period, split-changemonitor, -1
+bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
+bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
+bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
+bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
+bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
+bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
+bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
+bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
+bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
+bind = $mainMod CONTROL SHIFT, 1, movetoworkspace, 1
+bind = $mainMod CONTROL SHIFT, 2, movetoworkspace, 2
+bind = $mainMod CONTROL SHIFT, 3, movetoworkspace, 3
+bind = $mainMod CONTROL SHIFT, 4, movetoworkspace, 4
+bind = $mainMod CONTROL SHIFT, 5, movetoworkspace, 5
+bind = $mainMod CONTROL SHIFT, 6, movetoworkspace, 6
+bind = $mainMod CONTROL SHIFT, 7, movetoworkspace, 7
+bind = $mainMod CONTROL SHIFT, 8, movetoworkspace, 8
+bind = $mainMod CONTROL SHIFT, 9, movetoworkspace, 9
+bind = $mainMod, mouse_down, workspace, e+1
+bind = $mainMod, mouse_up, workspace, e-1
+#bind = $mainMod, comma, split-changemonitor, +1
+#bind = $mainMod, period, split-changemonitor, -1
#}}}
#{{{ Mouse binds