AutoYADM commit: 2025-05-04 17:45:05

This commit is contained in:
Daniel Fichtinger 2025-05-04 17:45:05 -04:00
parent 01bedf9fa8
commit 62b35dcdbf
2 changed files with 14 additions and 11 deletions

View file

@ -762,6 +762,9 @@ binds {
Mod+P {
spawn "clipcat-menu"
}
Mod+B {
spawn "~/.config/niri/scripts/rofi-rbw-wrapper.fish"
}
// Applications such as remote-desktop clients and software KVM switches may
// request that niri stops processing the keyboard shortcuts defined here
// so they may, for example, forward the key presses as-is to a remote machine.

View file

@ -1,17 +1,17 @@
#!/usr/bin/env fish
set -l cmd $argv[1]
set -l cmd (echo type\ncopy\nprint\n | fuzzel --prompt="Mode: " --dmenu)
set -l opts --selector fuzzel --clear-after 60 --clipboarder wl-copy --typer wtype --use-notify-send
if test "$cmd" = type
rofi-rbw $opts --action type
else if test "$cmd" = copy
rofi-rbw $opts --action copy
else if test "$cmd" = print
rofi-rbw $opts --action print
else
return 1
end
rofi-rbw $opts --action $cmd
rofi-rbw $opts
# if test "$cmd" = type
# rofi-rbw $opts --action type
# else if test "$cmd" = copy
# rofi-rbw $opts --action copy
# else if test "$cmd" = print
# rofi-rbw $opts --action print
# else
# return 1
# end