AutoYADM commit: 2025-05-04 18:15:08

This commit is contained in:
Daniel Fichtinger 2025-05-04 18:15:08 -04:00
parent 4d114c959a
commit a94d5ddb62
2 changed files with 16 additions and 2 deletions

View file

@ -763,7 +763,7 @@ binds {
spawn "clipcat-menu"
}
Mod+B {
spawn "~/.config/niri/scripts/rofi-rbw-wrapper.fish"
spawn "~/.config/niri/scripts/rbw-fish.fish"
}
// Applications such as remote-desktop clients and software KVM switches may
// request that niri stops processing the keyboard shortcuts defined here

View file

@ -1,3 +1,17 @@
#!/usr/bin/env fish
echo rbw-fish
set -l query (echo username\npassword\ncode | fuzzel --prompt="> " --dmenu)
set -l selected (rbw list | fuzzel --prompt="$query: " --dmenu)
if test -z "$selected"
return 1
end
set -l output
if test "$query" = code
set output (rbw code "$selected")
else
set output (rbw get "$selected" --raw | jq --join-output ".data.$query")
end
wl-copy $output