rbw!
This commit is contained in:
parent
aa522c199b
commit
c699350a18
5 changed files with 44 additions and 0 deletions
|
@ -97,6 +97,9 @@ in {
|
|||
;;
|
||||
esac
|
||||
'';
|
||||
grabPasswordScript = pkgs.writeScript "grab-password" ''
|
||||
${lib.getExe pkgs.rbw} get $(${lib.getExe pkgs.gnome.zenity} --entry --text="Enter the name for your password entry to copy it to your clipboard" --title="Password") | ${lib.getExe pkgs.wl-clipboard-x11} -selection clipboard
|
||||
'';
|
||||
in [
|
||||
"$mod, R, exec, ${lib.getExe pkgs.rofi-wayland} -show run"
|
||||
", print, exec, ${screenshotScript}"
|
||||
|
@ -121,6 +124,7 @@ in {
|
|||
"$mod, bracketright, workspace, e+1"
|
||||
|
||||
", XF86LaunchA, exec, ${screenshotScript}"
|
||||
", XF86LaunchB, exec, ${grabPasswordScript}"
|
||||
] ++ (
|
||||
# workspaces
|
||||
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue