10 lines
280 B
Bash
Executable file
10 lines
280 B
Bash
Executable file
#!/bin/sh
|
|
while read file
|
|
do
|
|
case "$1" in
|
|
"c") cat "$file" | xclip -sel c -t image/png -i ;;
|
|
"f") echo "$file" | xclip -sel c ;;
|
|
"w") feh --bg-fill "$file" ;;
|
|
"q") echo "$file" > ~/.config/i3/wallpaper; feh --bg-fill "$file" ;;
|
|
esac
|
|
done
|