Home Gen251 @ 2024-05-15-11:53
This commit is contained in:
parent
d3a1b25280
commit
584e3ae813
@ -46,14 +46,11 @@
|
||||
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
||||
builtins.concatLists (builtins.genList (
|
||||
x: let
|
||||
ws = let
|
||||
c = (x + 1) / 8;
|
||||
in
|
||||
builtins.toString (x + 1 - (c * 8));
|
||||
ws = builtins.toString (x + 1);
|
||||
in [
|
||||
"$mod, ${ws}, workspace, ${toString (x + 1)}"
|
||||
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
|
||||
"$mod CTRL, ${ws}, movetoworkspacesilent, ${toString (x + 1)}"
|
||||
"$mod, ${ws}, workspace, ${ws}"
|
||||
"$mod SHIFT, ${ws}, movetoworkspace, ${ws}"
|
||||
"$mod CTRL, ${ws}, movetoworkspacesilent, ${ws}"
|
||||
]
|
||||
)
|
||||
8)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user