feat(niri): ricing never ends
This commit is contained in:
parent
328ecdffc3
commit
d779b76be0
8 changed files with 105 additions and 18 deletions
21
scripts/cliphist.sh
Executable file
21
scripts/cliphist.sh
Executable file
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env bash
|
||||
# ____ _ _ _ _ _
|
||||
# / ___| (_)_ __ | |__ (_)___| |_
|
||||
# | | | | | '_ \| '_ \| / __| __|
|
||||
# | |___| | | |_) | | | | \__ \ |_
|
||||
# \____|_|_| .__/|_| |_|_|___/\__|
|
||||
# |_|
|
||||
#
|
||||
|
||||
case $1 in
|
||||
d) cliphist list | rofi -dmenu -replace | cliphist delete
|
||||
;;
|
||||
|
||||
w) if [ `echo -e "Clear\nCancel" | rofi -dmenu` == "Clear" ] ; then
|
||||
cliphist wipe
|
||||
fi
|
||||
;;
|
||||
|
||||
*) cliphist list | rofi -dmenu -replace | cliphist decode | wl-copy
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue