diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/open_primary_in_browser.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/open_primary_in_browser.sh b/scripts/open_primary_in_browser.sh index 9ae8243..9b6cc39 100755 --- a/scripts/open_primary_in_browser.sh +++ b/scripts/open_primary_in_browser.sh @@ -1,12 +1,12 @@ -#!/bin/bash +#!/bin/sh PRIMARY="" -if [[ ! -z "$WAYLAND_DISPLAY" ]] +if [ ! -z "$WAYLAND_DISPLAY" ] then PRIMARY=$(wl-paste -p) else PRIMARY=$(xclip -o -selection primary) fi -eval $BROWSER "$PRIMARY" +"$BROWSER" "$PRIMARY" |
