From 078eb62a20e2b5b9a2b1430f105e30d73e3867fe Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 25 Sep 2024 17:48:57 +0800 Subject: changed from using a script -> special workspace for hiding and showing --- dot-config/hypr/binds.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dot-config/hypr/binds.conf b/dot-config/hypr/binds.conf index 22e3f595..fb142aa5 100644 --- a/dot-config/hypr/binds.conf +++ b/dot-config/hypr/binds.conf @@ -74,8 +74,11 @@ bind = ,XF86MonBrightnessDown, exec, $HOME/scripts/sysutil.sh brightness --dec # Window management -bind = $mainMod, d, exec, $HOME/scripts/hyprhide h -bind = $mainMod, i, exec, $HOME/scripts/hyprhide s +# bind = $mainMod, d, exec, $HOME/scripts/hyprhide h +# bind = $mainMod, i, exec, $HOME/scripts/hyprhide s +bind = $mainMod, d, movetoworkspacesilent, special:minimized +bind = $mainMod, i, togglespecialworkspace, minimized +bind = $mainMod, i, movetoworkspace, +0 bind = $mainMod, q, killactive bind = $mainMod shift, q, exec, kill -9 $(hyprctl activewindow | grep pid | tail -1 | awk '{print$2}') bind = ctrl alt, escape, exec, hyprctl kill -- cgit v1.2.3