add a password menu

This commit is contained in:
stupidcomputer 2024-04-15 19:33:35 -05:00
parent e196a5f96f
commit 405fed6955
3 changed files with 14 additions and 1 deletions

View File

@ -35,6 +35,10 @@ super + e
super + shift + e super + shift + e
systemctl suspend systemctl suspend
# password menu
super + z
passmenu
# manipulate a node # manipulate a node
super + {_,ctrl +,shift + }{h,j,k,l} super + {_,ctrl +,shift + }{h,j,k,l}
bspc node -{f,p,s} {west,south,north,east} bspc node -{f,p,s} {west,south,north,east}

View File

@ -19,6 +19,8 @@
, xrandr , xrandr
, svkbd , svkbd
, xkbset , xkbset
, rbw
, xclip
, libsForQt5 , libsForQt5
}: }:
@ -29,7 +31,7 @@ stdenv.mkDerivation rec {
src = ./utils; src = ./utils;
nativeBuildInputs = [ makeWrapper pkg-config libxcb ]; nativeBuildInputs = [ makeWrapper pkg-config libxcb ];
buildInputs = [ libxcb bash feh xrandr jq curl fzy ytfzf ffmpeg sshuttle svkbd scrcpy xkbset libsForQt5.kolourpaint ]; buildInputs = [ libxcb bash feh xrandr jq curl fzy ytfzf ffmpeg sshuttle svkbd scrcpy xkbset rbw xclip libsForQt5.kolourpaint ];
buildPhase = '' buildPhase = ''
ls ls

7
builds/utils/sh/passmenu Executable file
View File

@ -0,0 +1,7 @@
# wrapper around rbw
resp=$(rbw list | tmenu)
rbw get "$resp" | xclip -selection clipboard
sleep 15
echo "cleared" | xclip -selection clipboard