summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2024-02-01 20:51:03 -0600
committerzachir <zachir@librem.one>2024-02-01 20:51:03 -0600
commitfb3cd761ac0c05570ca71dde3ecb3a8daf2fad49 (patch)
treeb210f0800bffc795d62484685d3f3e27771cdcc4
parent3ee3df068a6eeefa0dbe929fad0ad30e483dad7b (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.
-rw-r--r--hypr/hyprland.conf2
-rw-r--r--hypr/pyprland.toml1
2 files changed, 3 insertions, 0 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index d3b2c83..dbf7c82 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -236,6 +236,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!)
diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml
index 600c30a..935f1a8 100644
--- a/hypr/pyprland.toml
+++ b/hypr/pyprland.toml
@@ -1,6 +1,7 @@
[pyprland]
plugins = [
"scratchpads",
+ "expose"
]
[scratchpads.sphtop]