1
1
Fork 0

rofi-rbw: fix keybindings

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-16 20:32:42 -06:00
parent dfe982fd3b
commit 793b053781
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -36,10 +36,26 @@ in {
# https://github.com/NixOS/nixpkgs/pull/303745
# https://github.com/fdw/rofi-rbw?tab=readme-ov-file#configuration
xdg.configFile = {
"rofi-rbw.rc".text = ''
"rofi-rbw.rc".text = let
keybindings = concatStringsSep "," [
"Ctrl+1:print:username"
"Ctrl+2:print:password"
"Ctrl+3:print:totp"
"Alt+1:type:delay:username"
"Alt+2:type:delay:password"
"Alt+3:type:delay:totp"
"Alt+u:copy:username"
"Alt+p:copy:password"
"Alt+t:copy:totp"
"Alt+s:sync"
];
in ''
action=copy
keybindings=${keybindings}
no-help=true
prompt=󰌾
selector=${config.custom.menu}
target=menu
'';
};
}