summaryrefslogtreecommitdiff
path: root/bin/guiscripts/dminw
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-04 14:02:28 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-04 14:02:28 +0200
commitdc03fb40fe55a7dc88c07509b47299223d4d5815 (patch)
tree93d33df604005218d287d535b37dfc4ab9de307d /bin/guiscripts/dminw
parent1496b8724c39dd6d16a46916ad4ed47a83a44852 (diff)
cleaned up scripts, use sh (-> dash) where possible
Diffstat (limited to 'bin/guiscripts/dminw')
-rwxr-xr-xbin/guiscripts/dminw2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/guiscripts/dminw b/bin/guiscripts/dminw
index 3ea5fb3..5066ca8 100755
--- a/bin/guiscripts/dminw
+++ b/bin/guiscripts/dminw
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
WINDOWID=${1:-$(xdotool getwindowfocus)}
WIDTH=$(xdotool getwindowgeometry -s ${WINDOWID} | grep WIDTH | cut -d ' ' -f 2)
dmenu_run -w ${1:-$(xdotool getwindowfocus)} -c