diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-03 19:53:22 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-03-03 19:53:22 +0100 |
commit | 97487ed1431ed0cfa4f5b6facd69dbd0f13911f4 (patch) | |
tree | cacc50f96ebb5a9b2a3c8d374bbf9e8ccedc64cf /bin/guiscripts/dminw | |
parent | 5522d426e21cbedb8791ee4399ff7d28a4c6f10e (diff) |
renamed dmscripts to guiscripts
Diffstat (limited to 'bin/guiscripts/dminw')
-rwxr-xr-x | bin/guiscripts/dminw | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/guiscripts/dminw b/bin/guiscripts/dminw new file mode 100755 index 0000000..2ff32a1 --- /dev/null +++ b/bin/guiscripts/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} |