forked from Shinonome/caelestia-cli
clipboard and emoji scripts
This commit is contained in:
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/fish
|
||||||
|
|
||||||
|
set chosen_item (cliphist list | fuzzel --dmenu --prompt='Delete from clipboard: ')
|
||||||
|
test -n "$chosen_item" && echo "$chosen_item" | cliphist delete
|
||||||
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/fish
|
||||||
|
|
||||||
|
set chosen_item (cliphist list | fuzzel --dmenu)
|
||||||
|
test -n "$chosen_item" && echo "$chosen_item" | cliphist decode | wl-copy
|
||||||
+1867
File diff suppressed because it is too large
Load Diff
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/fish
|
||||||
|
|
||||||
|
set chosen_item (cat (dirname (status filename))/data/emojis.txt | fuzzel --dmenu)
|
||||||
|
test -n "$chosen_item" && echo "$chosen_item" | cut -d ' ' -f 1 | tr -d '\n' | wl-copy
|
||||||
@@ -24,23 +24,17 @@ if test "$argv[1]" = toggle
|
|||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
if test "$argv[1]" = screenshot
|
|
||||||
./screenshot.fish $argv[2..]
|
|
||||||
exit
|
|
||||||
end
|
|
||||||
|
|
||||||
if test "$argv[1]" = workspace-action
|
if test "$argv[1]" = workspace-action
|
||||||
./workspace-action.sh $argv[2..]
|
./workspace-action.sh $argv[2..]
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
if test "$argv[1]" = change-wallpaper
|
set valid_subcommands screenshot workspace-action \
|
||||||
./change-wallpaper.fish $argv[2..]
|
clipboard clipboard-delete emoji-picker \
|
||||||
exit
|
change-wallpaper pip
|
||||||
end
|
|
||||||
|
|
||||||
if test "$argv[1]" = pip
|
if contains "$argv[1]" $valid_subcommands
|
||||||
./pip.fish $argv[2..]
|
./$argv[1].fish $argv[2..]
|
||||||
exit
|
exit
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user