AutoYADM commit: 2025-05-04 17:45:05
This commit is contained in:
parent
01bedf9fa8
commit
62b35dcdbf
2 changed files with 14 additions and 11 deletions
|
@ -762,6 +762,9 @@ binds {
|
||||||
Mod+P {
|
Mod+P {
|
||||||
spawn "clipcat-menu"
|
spawn "clipcat-menu"
|
||||||
}
|
}
|
||||||
|
Mod+B {
|
||||||
|
spawn "~/.config/niri/scripts/rofi-rbw-wrapper.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
|
||||||
// so they may, for example, forward the key presses as-is to a remote machine.
|
// so they may, for example, forward the key presses as-is to a remote machine.
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
#!/usr/bin/env fish
|
#!/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
|
set -l opts --selector fuzzel --clear-after 60 --clipboarder wl-copy --typer wtype --use-notify-send
|
||||||
|
|
||||||
if test "$cmd" = type
|
rofi-rbw $opts --action $cmd
|
||||||
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
|
# 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue