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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue