summaryrefslogtreecommitdiff
path: root/scripts/x-launcher
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/x-launcher')
-rwxr-xr-xscripts/x-launcher7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/x-launcher b/scripts/x-launcher
index 55fd907..1602c8d 100755
--- a/scripts/x-launcher
+++ b/scripts/x-launcher
@@ -12,6 +12,7 @@ run=$( echo run | $dmenu )
[[ "$run" == "" ]] && exit 0
$run 2>&1 > $tmp
-#[[ $(cat $tmp) == "" ]] && exit 0
-#xmessage -file $tmp 2>/dev/null&
-#xdotool search --sync --onlyvisible --maxdepth 1 xmessage mousemove --window %1 10 10
+[[ "$1" == "" ]] && exit 0;
+[[ $(cat $tmp) == "" ]] && exit 0
+xmessage -file $tmp 2>/dev/null&
+xdotool search --sync --onlyvisible --maxdepth 1 xmessage mousemove --window %1 10 10