Improve 'back' and 'front' bash scripts
This commit is contained in:
parent
05ee7ce670
commit
0debcd7931
2 changed files with 6 additions and 0 deletions
3
bin/back
3
bin/back
|
@ -2,3 +2,6 @@ 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, 0x0, 0x0, 0x0"
|
xprop -id $win_id -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x0, 0x0, 0x0"
|
||||||
wmctrl -i -r $win_id -b add,below
|
wmctrl -i -r $win_id -b add,below
|
||||||
|
wmctrl -i -r $win_id -b add,skip_taskbar
|
||||||
|
wmctrl -i -r $win_id -b add,skip_pager
|
||||||
|
wmctrl -i -r $win_id -b add,sticky
|
||||||
|
|
|
@ -2,4 +2,7 @@ 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"
|
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 -r $win_id -b remove,below
|
||||||
|
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
|
||||||
wmctrl -i -a $win_id
|
wmctrl -i -a $win_id
|
||||||
|
|
Loading…
Reference in a new issue