Improve formatting

This commit is contained in:
SebastianStork 2024-06-10 00:03:17 +02:00
parent b020faa8d2
commit 1844988bf2

View file

@ -48,10 +48,14 @@
bind = SUPER SHIFT, M, movetoworkspace, special:minimize bind = SUPER SHIFT, M, movetoworkspace, special:minimize
bind = SUPER SHIFT, M, togglespecialworkspace, minimize bind = SUPER SHIFT, M, togglespecialworkspace, minimize
# Switch workspace
${lib.concatMapStringsSep "\n" (n: '' ${lib.concatMapStringsSep "\n" (n: ''
# Switch workspace
bind = SUPER, ${toString n}, focusworkspaceoncurrentmonitor, ${toString n} bind = SUPER, ${toString n}, focusworkspaceoncurrentmonitor, ${toString n}
bind = SUPER SHIFT, ${toString n}, movetoworkspacesilent, ${toString n} bind = SUPER SHIFT, ${toString n}, movetoworkspacesilent, ${toString n}
# Escape special workspace
bind = SUPER, ${toString n}, togglespecialworkspace, blank
bind = SUPER, ${toString n}, togglespecialworkspace, blank
'') (lib.range 1 9)} '') (lib.range 1 9)}
# Scroll through workspaces # Scroll through workspaces
@ -106,14 +110,6 @@
bind = , Print, exec, grimblast --notify --freeze copysave output bind = , Print, exec, grimblast --notify --freeze copysave output
bind = SHIFT, Print, exec, grimblast --notify --freeze copysave area bind = SHIFT, Print, exec, grimblast --notify --freeze copysave area
# Escape special workspace
${lib.concatMapStringsSep "\n" (n: "bind = SUPER, ${toString n}, togglespecialworkspace, blank") (
lib.range 1 9
)}
${lib.concatMapStringsSep "\n" (n: "bind = SUPER, ${toString n}, togglespecialworkspace, blank") (
lib.range 1 9
)}
# Scratchpad workspace # Scratchpad workspace
workspace = special:scratchpad, gapsout:30 workspace = special:scratchpad, gapsout:30
bind = SUPER , X, togglespecialworkspace, scratchpad bind = SUPER , X, togglespecialworkspace, scratchpad