mirror of
https://codeberg.org/frosty/dotfiles.git
synced 2024-09-19 11:47:09 -04:00
17 lines
304 B
Bash
Executable file
17 lines
304 B
Bash
Executable file
#!/bin/sh
|
|
|
|
while IFS= read -r file; do
|
|
case "$1" in
|
|
w)
|
|
wallpaper-set "$file"
|
|
;;
|
|
e)
|
|
setsid -f gimp "$file"
|
|
;;
|
|
y)
|
|
xclip -sel clip -t image/png "$file"
|
|
notify-send "nsxiv" "Copied <b>${file##*/}</b> to the clipboard."
|
|
;;
|
|
esac
|
|
done
|