From 6e042ab81401fbd0c9544abd456ffce56aa81f83 Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Thu, 2 Apr 2026 21:48:50 +0545 Subject: [PATCH] feat(config/hypr/UserConfigs): add special workspace handling and streamline keybindings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New Features: - Introduced ALT + Q and SHIFT + ALT + Q bindings to toggle and control a `special` workspace submap. - Merged ESC and ENTER actions into single `hyprctl dispatch` commands that also reset the submap, ensuring atomic behavior. Enhancements: - Removed the obsolete `bindd` entry and cleaned up dead layoutmsg directives. - Simplified submap reset logic to avoid stale states and reduce keybinding clutter. Bug Fixes: — (no bug fixes in this change) --- config/hypr/UserConfigs/UserKeybinds.conf | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index a4318d11..e3528d46 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -31,17 +31,19 @@ bind = $mainMod CTRL, L, exec, pidof hyprlock || hyprlock -q bind = $mainMod CTRL, P, exec, systemctl poweroff bind = $mainMod CTRL, R, exec, systemctl reboot + +# special workspace + # Send window to special workspace bind = ALT, Q, movetoworkspacesilent, special + # Show special workspace + enter control mode bind = SHIFT ALT, Q, exec, hyprctl dispatch togglespecialworkspace bind = SHIFT ALT, Q, submap, special submap = special -bind = , ESCAPE, exec, hyprctl dispatch togglespecialworkspace -bind = , ESCAPE, submap, reset -bind = , RETURN, movetoworkspacesilent, e+0 -bind = , RETURN, submap, reset +bind = , ESCAPE, exec, hyprctl dispatch togglespecialworkspace && hyprctl dispatch submap reset +bind = , RETURN, exec, hyprctl dispatch movetoworkspacesilent e+0 && hyprctl dispatch togglespecialworkspace && hyprctl dispatch submap reset submap = reset @@ -53,7 +55,3 @@ bind = $mainMod SHIFT, comma, layoutmsg, movewindowto l bind = $mainMod SHIFT, up, layoutmsg, movewindowto u bind = $mainMod SHIFT, down, layoutmsg, movewindowto d bindd = $mainMod SHIFT, comma, swap columns, layoutmsg, swapcol l - - - -