2021-02-19 10:13:46 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ -z "$1" ]
|
2022-05-05 11:56:08 +00:00
|
|
|
then win_id=$(xdotool getwindowfocus) #$(xwininfo | awk 'match($0, /Window id: (0x[0-9a-f]+)/, cap){print cap[1]}')
|
2021-02-19 10:13:46 +00:00
|
|
|
else win_id=$1
|
|
|
|
fi
|
|
|
|
|
|
|
|
xprop -id $win_id -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x1, 0x0, 0x0"
|