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/pyprland.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'hypr/pyprland.toml') 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 From 83274ffd4d91721d643d6c9995df9a670d0bcad3 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 6 Feb 2024 15:46:57 -0600 Subject: hypr: Actually implement pseudo-minimize I apparently lied in the commit where I said I did --- hypr/hyprland.conf | 2 +- hypr/pyprland.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'hypr/pyprland.toml') diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index 85f625b..679dcda 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -225,7 +225,7 @@ 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, N, exec, pypr toggle_special bind = $mainMod SHIFT, N, togglespecialworkspace, minimized #}}} diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml index 935f1a8..f9775ab 100644 --- a/hypr/pyprland.toml +++ b/hypr/pyprland.toml @@ -1,6 +1,7 @@ [pyprland] plugins = [ "scratchpads", + "toggle_special", "expose" ] -- cgit v1.2.3 From 5cc306a5da9174e9dbb3aed5cfb441d317ff24cc Mon Sep 17 00:00:00 2001 From: zachir Date: Sat, 23 Mar 2024 18:07:17 -0500 Subject: Set pyprland scratchpads to a size and position --- hypr/pyprland.toml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'hypr/pyprland.toml') diff --git a/hypr/pyprland.toml b/hypr/pyprland.toml index f9775ab..dfa2aab 100644 --- a/hypr/pyprland.toml +++ b/hypr/pyprland.toml @@ -10,70 +10,94 @@ animation = "" command = "kitty --class sphtop htop" class = "sphtop" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spterm] animation = "" command = "kitty --class spterm" class = "spterm" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.sppmxr] animation = "" command = "kitty --class sppmxr pulsemixer" class = "sppmxr" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spblue] animation = "" command = "kitty --class spblue bluetoothctl" class = "spblue" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spncmp] animation = "" command = "kitty --class spncmp ncmpcpp" class = "spncmp" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spmutt] animation = "" command = "kitty --class spmutt neomutt" class = "spmutt" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spprof] animation = "" command = "kitty --class spprof profanity" class = "spprof" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.spirss] animation = "" command = "kitty --class spirss irssi" class = "spirss" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.sptodo] animation = "" command = "kitty --class sptodo todo" class = "sptodo" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.sptrmc] animation = "" command = "kitty --class sptrmc tremc" class = "sptremc" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.qpwgraph] animation = "" command = "qpwgraph" class = "org.rncbc.qpwgraph" lazy = true +size = "50% 50%" +position = "25% 25%" [scratchpads.easyeffects] animation = "" command = "flatpak run com.github.wwmm.easyeffects" class = "com.github.wwmm.easyeffects" lazy = true +size = "50% 50%" +position = "25% 25%" unfocus = "hide" -- cgit v1.2.3