This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

optmenu: use rofi, make wayland compatible

+2 -2
+2 -2
5pkgs/otpmenu/default.nix
··· 3 3 set -efux 4 4 x=$(${pkgs.pass}/bin/pass git ls-files '*/otp.gpg' \ 5 5 | ${pkgs.gnused}/bin/sed 's:/otp\.gpg$::' \ 6 - | ${pkgs.dmenu}/bin/dmenu 6 + | ${pkgs.rofi}/bin/rofi -dmenu 7 7 ) 8 8 9 9 otp=$(${(pkgs.pass.withExtensions (ext: [ ext.pass-otp ]))}/bin/pass otp code "$x/otp") 10 - printf %s "$otp" | ${pkgs.wtype}/bin/wtype -s 1 - || printf %s "$otp" | ${pkgs.xdotool}/bin/xdotool type -f - 10 + printf %s "$otp" | ${pkgs.wtype}/bin/wtype -d 10 -s 200 - || printf %s "$otp" | ${pkgs.xdotool}/bin/xdotool type -f - 11 11 ''