2020-05-04 12:58:17 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
if [ -z "$1" ]
|
|
|
|
then win_id=$(xwininfo | awk 'match($0, /Window id: (0x[0-9a-f]+)/, cap){print cap[1]}')
|
|
|
|
else win_id=$1
|
|
|
|
fi
|
2020-03-22 08:36:45 +00:00
|
|
|
|
|
|
|
xprop -id $win_id -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x1, 0x0, 0x0"
|
2020-05-26 13:57:56 +00:00
|
|
|
wmctrl -i -r $win_id -b remove,top
|
2020-03-22 08:36:45 +00:00
|
|
|
wmctrl -i -r $win_id -b remove,below
|
2020-03-22 11:12:12 +00:00
|
|
|
wmctrl -i -r $win_id -b remove,skip_taskbar
|
|
|
|
wmctrl -i -r $win_id -b remove,skip_pager
|
|
|
|
wmctrl -i -r $win_id -b remove,sticky
|
2020-03-22 08:36:45 +00:00
|
|
|
wmctrl -i -a $win_id
|