feat(config/hypr/UserConfigs): add special workspace handling and streamline keybindings

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)
This commit is contained in:
sankalp committed 2026-04-02 21:48:50 +05:45
1 parent 4da2874b90
commit 6e042ab814
1 file changed
+6 -8
+6 -8
View File
@@ -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