muh eunuchs philosophy
This commit is contained in:
parent
c0b24e15dc
commit
ea294ff0ac
1 changed files with 2 additions and 6 deletions
|
@ -2,10 +2,7 @@
|
||||||
while read file
|
while read file
|
||||||
do
|
do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
"w")
|
"w") setbg "$file" & ;;
|
||||||
cp "$file" ~/.config/wall.png &&
|
|
||||||
setbg
|
|
||||||
notify-send -i "$HOME/.config/wall.png" "Wallpaper changed." ;;
|
|
||||||
"c")
|
"c")
|
||||||
[ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.bmdirs | awk '{print $2}' | dmenu -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"
|
[ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.bmdirs | awk '{print $2}' | dmenu -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"
|
||||||
[ -z "$destdir" ] && exit
|
[ -z "$destdir" ] && exit
|
||||||
|
@ -30,7 +27,6 @@ do
|
||||||
notify-send "$(readlink -f "$file") copied to clipboard" & ;;
|
notify-send "$(readlink -f "$file") copied to clipboard" & ;;
|
||||||
"d")
|
"d")
|
||||||
[ "$(printf "No\\nYes" | dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;;
|
[ "$(printf "No\\nYes" | dmenu -i -p "Really delete $file?")" = "Yes" ] && rm "$file" && notify-send "$file deleted." ;;
|
||||||
"G")
|
"g") ifinstalled gimp && gimp "$file" & ;;
|
||||||
gimp "$file" & ;;
|
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue