17 lines
444 B
Fish
Executable file
17 lines
444 B
Fish
Executable file
#!/usr/bin/env fish
|
|
|
|
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
|
|
|
|
rofi-rbw $opts --action $cmd
|
|
|
|
# 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
|