summaryrefslogtreecommitdiff
path: root/st-urlhandler
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-16 14:48:52 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-16 14:48:52 -0400
commit3f44e88d6e1df1ee07e7acb4935498855ecb22d3 (patch)
tree4f7da61779c5fc5fb6c2e5eda2ec7edad0391f44 /st-urlhandler
parent1d1fefcd7b7df5736b510d9aeb812befe4b8fdf6 (diff)
no longer embed dmenu to prevent error if dmenu
has no alpha patch
Diffstat (limited to 'st-urlhandler')
-rwxr-xr-xst-urlhandler2
1 files changed, 1 insertions, 1 deletions
diff --git a/st-urlhandler b/st-urlhandler
index a68c46c..5833883 100755
--- a/st-urlhandler
+++ b/st-urlhandler
@@ -10,6 +10,6 @@ urls="$(sed 's/.*│//g' | tr -d '\n' |
[ -z "$urls" ] && exit
-chosen="$(echo "$urls" | dmenu -w "$(xdotool getactivewindow)" -i -p 'Follow which url?' -l 10)"
+chosen="$(echo "$urls" | dmenu -i -p 'Follow which url?' -l 10)"
setsid xdg-open "$chosen" >/dev/null 2>&1 &