From a90d5736ec8501463e6ac66768fe3bfd177366ec Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 20 May 2026 16:18:54 +0200 Subject: scripts: fix open_primary_in_browser splitting its input --- scripts/open_primary_in_browser.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') 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" -- cgit v1.2.3