close #1106
This commit is contained in:
parent
0818097806
commit
35316c9c00
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
while read file
|
while read -r file
|
||||||
do
|
do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
"w") setbg "$file" & ;;
|
"w") setbg "$file" & ;;
|
||||||
|
@ -20,7 +20,7 @@ do
|
||||||
"f")
|
"f")
|
||||||
convert -flop "$file" "$file" ;;
|
convert -flop "$file" "$file" ;;
|
||||||
"y")
|
"y")
|
||||||
echo -n "$file" | tr -d '\n' | xclip -selection clipboard &&
|
printf "%s" "$file" | tr -d '\n' | xclip -selection clipboard &&
|
||||||
notify-send "$file copied to clipboard" & ;;
|
notify-send "$file copied to clipboard" & ;;
|
||||||
"Y")
|
"Y")
|
||||||
readlink -f "$file" | tr -d '\n' | xclip -selection clipboard &&
|
readlink -f "$file" | tr -d '\n' | xclip -selection clipboard &&
|
||||||
|
|
Loading…
Reference in a new issue