forked from Shinonome/dots-hyprland
1671959186
Up until now, colors were applied with the help of terminal escape codes, ran from the fish config. This still happens (so theming will still kinda also work for other terminals), but, for kitty specifically, I've also added a way to apply the theme on startup, without the need for loading the fish config.
40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
# Theming
|
|
include ~/.local/state/quickshell/user/generated/terminal/kitty-theme.conf
|
|
|
|
# Font
|
|
font_family JetBrains Mono Nerd Font
|
|
font_size 11.0
|
|
|
|
# Cursor
|
|
cursor_shape beam
|
|
cursor_trail 1
|
|
|
|
# Padding (why weird value? consistency with foot)
|
|
window_margin_width 21.75
|
|
|
|
# No stupid close confirmation
|
|
confirm_os_window_close 0
|
|
|
|
# Use fish shell
|
|
shell fish
|
|
|
|
# Copy
|
|
map ctrl+c copy_or_interrupt
|
|
|
|
# Search
|
|
map ctrl+f launch --location=hsplit --allow-remote-control kitty +kitten search.py @active-kitty-window-id
|
|
map kitty_mod+f launch --location=hsplit --allow-remote-control kitty +kitten search.py @active-kitty-window-id
|
|
|
|
# Scroll & Zoom
|
|
map page_up scroll_page_up
|
|
map page_down scroll_page_down
|
|
|
|
map ctrl+plus change_font_size all +1
|
|
map ctrl+equal change_font_size all +1
|
|
map ctrl+kp_add change_font_size all +1
|
|
map ctrl+minus change_font_size all -1
|
|
map ctrl+underscore change_font_size all -1
|
|
map ctrl+kp_subtract change_font_size all -1
|
|
map ctrl+0 change_font_size all 0
|
|
map ctrl+kp_0 change_font_size all 0
|