21 lines
743 B
Plaintext
21 lines
743 B
Plaintext
# run with `kitty --session ~/.config/kitty/music.conf`
|
|
|
|
# os_window_size 220c 64c
|
|
# create a new tab
|
|
new_tab music
|
|
layout splits
|
|
|
|
# set the working directory for windows in the current tab
|
|
cd ~
|
|
|
|
# Splits are sized with --bias (a percentage of the space being split) rather
|
|
# than `resize_window taller/wider N`: that takes N *cells*, so on a small window
|
|
# N swamps the available space and the other pane collapses to nothing -- cava
|
|
# was disappearing. --bias keeps the same proportions at any window size.
|
|
# Tune: --bias here is the share the *new* pane takes; cava gets the remainder.
|
|
launch --var window=first cava
|
|
# create additional terminals
|
|
launch --location=hsplit --bias 80 pyradio
|
|
focus
|
|
launch --location=vsplit --bias 65 pipes-rs
|