From 97487ed1431ed0cfa4f5b6facd69dbd0f13911f4 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Fri, 3 Mar 2023 19:53:22 +0100 Subject: renamed dmscripts to guiscripts --- bin/guiscripts/dminw | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 bin/guiscripts/dminw (limited to 'bin/guiscripts/dminw') 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} -- cgit v1.2.3