summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/guiscripts/dmclip6
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