Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
6
.bin/OLD/set_focus
Executable file
6
.bin/OLD/set_focus
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
WINDOWID=$(xprop -root _NET_ACTIVE_WINDOW | grep -o "0x.*")
|
||||
GEOMETRY=$(xdpyinfo | grep dimensions | awk -F"[ x]" '{ printf("0,80,80,%s,%s\n", $7 - 160, $8 - 160) }')
|
||||
|
||||
wmctrl -i -r $WINDOWID -b add,above
|
||||
wmctrl -i -r $WINDOWID -e $GEOMETRY
|
||||
Reference in New Issue
Block a user