Compare commits
2 Commits
3c348d13dd
...
514aeac5c7
Author | SHA1 | Date |
---|---|---|
|
514aeac5c7 | |
|
c8ce6fd9a9 |
|
@ -137,13 +137,10 @@ module, or the flake-based Home Manager module.
|
|||
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
||||
builtins.concatLists (builtins.genList (
|
||||
x: let
|
||||
ws = let
|
||||
c = (x + 1) / 10;
|
||||
in
|
||||
builtins.toString (x + 1 - (c * 10));
|
||||
ws = builtins.toString (x + 10);
|
||||
in [
|
||||
"$mod, ${ws}, workspace, ${toString (x + 1)}"
|
||||
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
|
||||
"$mod, code:${ws}, workspace, ${toString (x + 1)}"
|
||||
"$mod SHIFT, code:${ws}, movetoworkspace, ${toString (x + 1)}"
|
||||
]
|
||||
)
|
||||
10)
|
||||
|
|
Loading…
Reference in New Issue