mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 23:11:34 +01:00
Exit special workspace when switching workspace
This commit is contained in:
parent
a6d86394d0
commit
bf0faf55c0
1 changed files with 8 additions and 4 deletions
|
|
@ -54,11 +54,11 @@
|
||||||
bind = SUPER SHIFT, M, togglespecialworkspace, minimize
|
bind = SUPER SHIFT, M, togglespecialworkspace, minimize
|
||||||
|
|
||||||
# Switch workspace
|
# Switch workspace
|
||||||
${lib.concatMapStringsSep "\n" (n: "bind=SUPER, ${toString n}, workspace, ${toString n}") (
|
${lib.concatMapStringsSep "\n" (n: "bind = SUPER, ${toString n}, workspace, ${toString n}") (
|
||||||
lib.range 1 9
|
lib.range 1 9
|
||||||
)}
|
)}
|
||||||
${lib.concatMapStringsSep "\n" (
|
${lib.concatMapStringsSep "\n" (
|
||||||
n: "bind=SUPER:SHIFT, ${toString n}, movetoworkspacesilent, ${toString n}"
|
n: "bind = SUPER SHIFT, ${toString n}, movetoworkspacesilent, ${toString n}"
|
||||||
) (lib.range 1 9)}
|
) (lib.range 1 9)}
|
||||||
|
|
||||||
# Scroll through workspaces
|
# Scroll through workspaces
|
||||||
|
|
@ -110,8 +110,12 @@
|
||||||
bind = SHIFT, Print, exec, ${lib.getExe pkgs.grimblast} --notify --freeze copysave area
|
bind = SHIFT, Print, exec, ${lib.getExe pkgs.grimblast} --notify --freeze copysave area
|
||||||
|
|
||||||
# Escape special workspace
|
# Escape special workspace
|
||||||
bind = SUPER, ESCAPE, togglespecialworkspace, blank
|
${lib.concatMapStringsSep "\n" (n: "bind = SUPER, ${toString n}, togglespecialworkspace, blank") (
|
||||||
bind = SUPER, ESCAPE, 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue