Add focus script
This commit is contained in:
parent
99de077bed
commit
c27e60aff5
1 changed files with 8 additions and 0 deletions
8
bin/focus
Executable file
8
bin/focus
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
WINID=$(kitty @ ls | jq ".[0].platform_window_id")
|
||||||
|
|
||||||
|
wmctrl -i -r $WINID -b add,maximized_vert,maximized_horz
|
||||||
|
xprop -id $(printf "0x%x" $WINID) -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x0, 0x0, 0x0"
|
||||||
|
kitty @ --to $KITTY_LISTEN_ON set-font-size 20
|
||||||
|
kitty @ --to $KITTY_LISTEN_ON set-spacing padding=40
|
Loading…
Reference in a new issue