darkrc/bin/focus

9 lines
324 B
Text
Raw Permalink Normal View History

2022-05-22 08:26:44 +00:00
#!/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"
2023-05-25 12:54:51 +00:00
kitty @ --to $KITTY_LISTEN_ON set-font-size 14
kitty @ --to $KITTY_LISTEN_ON set-spacing padding=20