Add scripts to send window to back and undo
This commit is contained in:
parent
3f79ae0d27
commit
b99292ce28
2 changed files with 9 additions and 0 deletions
4
bin/back
Executable file
4
bin/back
Executable file
|
@ -0,0 +1,4 @@
|
|||
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"
|
||||
wmctrl -i -r $win_id -b add,below
|
5
bin/front
Executable file
5
bin/front
Executable file
|
@ -0,0 +1,5 @@
|
|||
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
|
Loading…
Reference in a new issue