open code shortcut
This commit is contained in:
parent
48796999d5
commit
f46b0962be
1 changed files with 6 additions and 0 deletions
|
|
@ -53,6 +53,11 @@ let
|
|||
light -A 10
|
||||
${my-deps.notify-send} "Brightness" -h int:value:$(light) -a brightness-up -t 1000
|
||||
'');
|
||||
|
||||
open-code = (pkgs.writeShellScriptBin "open-code" ''
|
||||
code_dir=~/Documents/code
|
||||
ls $code_dir/ | ${my-deps.menu} | ${my-deps.xargs} -I_ code $code_dir/_
|
||||
'');
|
||||
};
|
||||
|
||||
lf-sixel = pkgs.callPackage ../../custom/lf-sixel/. { };
|
||||
|
|
@ -153,6 +158,7 @@ in
|
|||
bind = SUPER, M, exec, ${ my-deps.terminal } -e ncmpcpp
|
||||
bind = SUPER, E, exec, ${ my-deps.terminal } -e neomutt
|
||||
bind = SUPER, O, exec, pcmanfm
|
||||
bind = SUPER, C, exec, ${ my-scripts.open-code }/bin/open-code
|
||||
|
||||
bind = SUPER, h, movefocus,l
|
||||
bind = SUPER, l, movefocus,r
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue