Initial commit
This commit is contained in:
commit
209ba130c0
4852 changed files with 1517959 additions and 0 deletions
24
.config/ml4w/scripts/cliphist.sh
Executable file
24
.config/ml4w/scripts/cliphist.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
# ____ _ _ _ _ _
|
||||
# / ___| (_)_ __ | |__ (_)___| |_
|
||||
# | | | | | '_ \| '_ \| / __| __|
|
||||
# | |___| | | |_) | | | | \__ \ |_
|
||||
# \____|_|_| .__/|_| |_|_|___/\__|
|
||||
# |_|
|
||||
#
|
||||
|
||||
case $1 in
|
||||
d)
|
||||
cliphist list | rofi -dmenu -replace -config ~/.config/rofi/config-cliphist.rasi | cliphist delete
|
||||
;;
|
||||
|
||||
w)
|
||||
if [ $(echo -e "Clear\nCancel" | rofi -dmenu -config ~/.config/rofi/config-short.rasi) == "Clear" ]; then
|
||||
cliphist wipe
|
||||
fi
|
||||
;;
|
||||
|
||||
*)
|
||||
cliphist list | rofi -dmenu -replace -config ~/.config/rofi/config-cliphist.rasi | cliphist decode | wl-copy
|
||||
;;
|
||||
esac
|
||||
Loading…
Add table
Add a link
Reference in a new issue