From 8e85303657d8876aeae1d22ed05a0821050d6e59 Mon Sep 17 00:00:00 2001 From: zachir Date: Thu, 1 Feb 2024 20:51:03 -0600 Subject: 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. --- hypr/hyprland.conf | 2 ++ hypr/pyprland.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index bba6c5c..2be6fbb 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -225,6 +225,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] -- cgit v1.2.3