summaryrefslogtreecommitdiff
path: root/hypr/hyprland.conf
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-02-01 20:51:03 -0600
committerzachir <zachir@librem.one>2024-02-06 15:38:45 -0600
commit4f69e0fa08369c53a15cb1976f40f115893ae9c6 (patch)
tree6bde3f32bd64149ae72af42a3c13fb5a06208f31 /hypr/hyprland.conf
parent80d4210c7c11c5788b61a489bd6e099115ac062c (diff)
hypr: add pseudo minimize functionality
Using the 'expose' module in pyprland to create a hidden workspace for 'minimizing' windows. Windows do not know they are minimized, however.
Diffstat (limited to 'hypr/hyprland.conf')
-rw-r--r--hypr/hyprland.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index a03606e..b3311be 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -222,6 +222,8 @@ bind = $mainMod SHIFT, SPACE, togglefloating,
bind = $mainMod $secdMod, F2, exec, ~/.config/hypr/gamemode.sh
bind = $mainMod, F, fullscreen, 0
bind = $mainMod, M, fullscreen, 1
+bind = $mainMod, N, exec, pypr toggle_minimized
+bind = $mainMod SHIFT, N, togglespecialworkspace, minimized
#}}}
#{{{ Workspace binds (implied using split-monitor-workspaces plugin!)