Skip to content

Commit 7583dd4

Browse files
committed
users: jj improve lm alias
1 parent 91f8953 commit 7583dd4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

hosts/riscake/configuration.nix

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626

2727
skhdConfig =
2828
let
29-
spaces = map toString (lib.range 1 5);
3029
ws = n: "cmd - ${n} : yabai -m space --focus ${n}";
3130
move = n: "shift + cmd - ${n} : yabai -m window --space ${n}; yabai -m space --focus ${n}";
3231
in
@@ -37,12 +36,13 @@
3736
cmd - e : yabai -m window --toggle zoom-fullscreen
3837
shift + cmd - e : yabai -m window --toggle float --grid 4:4:1:1:2:2
3938
''
40-
+ lib.optionalString config.services.yabai.enable (lib.concatLines (map move spaces));
39+
+ lib.optionalString config.services.yabai.enable (lib.concatLines (map move (map toString (lib.range 1 6))))
40+
+ lib.optionalString config.services.yabai.enable (lib.concatLines (map ws (map toString (lib.range 1 6))));
4141
};
4242

4343
yabai = {
44-
enable = true;
45-
enableScriptingAddition = true;
44+
enable = false;
45+
enableScriptingAddition = false;
4646

4747
config =
4848
let

modules/shared/home-manager/vcs.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
lm = [
5858
"log"
5959
"-r"
60-
"present(@) | present(ancestors(tracked_remote_bookmarks() & mine(), 5))"
60+
"present(@) | present(ancestors(bookmarks() & mine() & mutable(), 5))"
6161
];
6262

6363
mv = [

0 commit comments

Comments
 (0)