diff options
Diffstat (limited to 'bin/dmscripts/dminw')
-rwxr-xr-x | bin/dmscripts/dminw | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/dmscripts/dminw b/bin/dmscripts/dminw new file mode 100755 index 0000000..2ff32a1 --- /dev/null +++ b/bin/dmscripts/dminw @@ -0,0 +1,4 @@ +#!/bin/bash +WINDOWID=${1:-$(xdotool getwindowfocus)} +WIDTH=$(xdotool getwindowgeometry -s ${WINDOWID} | grep WIDTH | cut -d ' ' -f 2) +dmenu_run -w ${1:-$(xdotool getwindowfocus)} -z ${WIDTH} |