rootfull docker, mkcert ca, bw scripts

This commit is contained in:
Tristan 2023-04-27 16:33:37 +01:00
parent e0d717f56b
commit 6aa649eb01
4 changed files with 59 additions and 8 deletions

View file

@ -28,6 +28,11 @@ let
fi
'');
bwotpmenu = (pkgs.writeShellScriptBin "bwotpmenu" ''
items="$(rbw list)"
echo "$items" | ${ my-deps.menu } | xargs -I_ rbw code _ | wl-copy
'');
bwmenu = (pkgs.writeShellScriptBin "bwmenu" ''
items="$(rbw list)"
echo "$items" | ${ my-deps.menu } | xargs -I_ rbw get _ | wl-copy
@ -73,6 +78,7 @@ in
home.packages = (with pkgs; [
libnotify
dig
wl-clipboard
wofi
du-dust
@ -176,7 +182,8 @@ in
bind = SUPER_SHIFT, V, togglegroup,
bind = SUPER_SHIFT, space, changegroupactive,n
bind = SUPER_SHIFT, P, exec,${ my-scripts.bwmenu }/bin/bwmenu
bind = SUPER, P, exec,${ my-scripts.bwmenu }/bin/bwmenu
bind = SUPER_SHIFT, P, exec,${ my-scripts.bwotpmenu }/bin/bwotpmenu
bind = SUPER_SHIFT, S, exec,${ my-scripts.screenshot }/bin/screenshot
bind =,XF86AudioRaiseVolume, exec,${ my-deps.amixer } sset Master 5%+ && ${ my-deps.amixer } sset Master unmute