Separate focus and zen scripts

This commit is contained in:
Talia 2023-05-25 14:54:51 +02:00
parent 155683768d
commit be5bfafbe5
2 changed files with 10 additions and 3 deletions

View file

@ -4,5 +4,5 @@ WINID=$(kitty @ ls | jq ".[0].platform_window_id")
wmctrl -i -r $WINID -b add,maximized_vert,maximized_horz 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" 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-font-size 14
kitty @ --to $KITTY_LISTEN_ON set-spacing padding=40 kitty @ --to $KITTY_LISTEN_ON set-spacing padding=20

View file

@ -1 +0,0 @@
focus

8
bin/zen Executable file
View 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=60