AutoYADM commit: 2025-05-04 18:15:08
This commit is contained in:
parent
4d114c959a
commit
a94d5ddb62
2 changed files with 16 additions and 2 deletions
|
@ -763,7 +763,7 @@ binds {
|
||||||
spawn "clipcat-menu"
|
spawn "clipcat-menu"
|
||||||
}
|
}
|
||||||
Mod+B {
|
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
|
// Applications such as remote-desktop clients and software KVM switches may
|
||||||
// request that niri stops processing the keyboard shortcuts defined here
|
// request that niri stops processing the keyboard shortcuts defined here
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
#!/usr/bin/env fish
|
#!/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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue