darkrc/bin/front

5 lines
231 B
Text
Executable file

win_id=$(xwininfo | awk 'match($0, /Window id: (0x[0-9a-f]+)/, cap){print cap[1]}')
xprop -id $win_id -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x1, 0x0, 0x0"
wmctrl -i -r $win_id -b remove,below
wmctrl -i -a $win_id