diff options
Diffstat (limited to 'bin/guiscripts')
| -rwxr-xr-x | bin/guiscripts/dmclip | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/guiscripts/dmclip b/bin/guiscripts/dmclip index a1ca634..cd5c928 100755 --- a/bin/guiscripts/dmclip +++ b/bin/guiscripts/dmclip @@ -11,16 +11,16 @@ NotImage () {  selection="$(echo "primary\nclipboard\nswap" |   	dmenu -l 1 -g 3 -p "selection:")" -if [[ "$selection" == "swap" ]] +if [ "$selection" = "swap" ]  then      clipboard="$(xclip -o)"      xclip -o | xclip -sel c      echo -n "$clipboard" | xclip -sel c      exit -elif [ "$selection" == "" ] +elif [ "$selection" = "" ]  then      exit 1 -elif  [ "$selection" == "primary" ] +elif  [ "$selection" = "primary" ]  then      selection2="clipboard"  else  | 
