Migration to GNU Stow
This commit is contained in:
13
fuzzel/.config/fuzzel/sticker-picker
Executable file
13
fuzzel/.config/fuzzel/sticker-picker
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
STICKER_DIR="$HOME/Pictures/Emotes/picker"
|
||||
|
||||
find "$STICKER_DIR" -type f \
|
||||
\( -iname "*.png" -o -iname "*.webp" \) |
|
||||
sort -f |
|
||||
while read -r file; do
|
||||
printf "%s\x00icon\x1f%s\n" "$(basename "$file")" "$file"
|
||||
done | fuzzel --dmenu |
|
||||
while read -r selection; do
|
||||
wl-copy <"$STICKER_DIR/$selection"
|
||||
done
|
||||
Reference in New Issue
Block a user