fix: update yabai/ghostty config

This commit is contained in:
Oliver Ladner 2025-06-03 09:41:35 +02:00
commit 45b0d86ff7
3 changed files with 4 additions and 50 deletions

View file

@ -41,3 +41,6 @@ keybind = global:ctrl+grave_accent=toggle_quick_terminal
keybind = page_up=scroll_page_up
keybind = page_down=scroll_page_down
quick-terminal-animation-duration = 0
# Disable secure input to not interfere with skhd
macos-auto-secure-input = false

View file

@ -1,50 +0,0 @@
theme = light:rose-pine-dawn,dark:rose-pine-moon
# FIXME: https://github.com/mbadolato/iTerm2-Color-Schemes/issues/442
# green
palette = 2=#286983
palette = 10=#286983
# blue
palette = 4=#56949f
palette = 12=#56949f
selection-background = #dfdad9
shell-integration-features = no-cursor
cursor-style = "block"
cursor-style-blink = true
cursor-color = #b4637a
cursor-opacity = 0.6
# cursor-invert-fg-bg = true
cursor-invert-fg-bg = false
background-opacity = 0.9
font-family = "JetBrainsMono Nerd Font"
# font-style depends on the font's features
font-style = "Regular"
font-style-bold = "Bold"
font-style-italic = "Italic"
font-style-bold-italic = "Bold Italic"
# Disable programming ligatures
font-feature = "-calt"
font-size = 17
# Reduce letter spacing
adjust-cell-width = -8%
adjust-cell-height = -1
window-padding-x = 8
window-padding-y = 4
window-decoration = false
window-colorspace = display-p3
# custom-shader = /Users/oliver.ladner/.config/ghostty/shaders/ghostty-shaders/just-snow.glsl
# custom-shader = /Users/oliver.ladner/.config/ghostty/shaders/ghostty-shaders/retro-terminal.glsl
# custom-shader = /Users/oliver.ladner/.config/ghostty/shaders/ghostty-shaders/cubes.glsl
auto-update = off
# keybind = super+f=write_screen_file:open
keybind = global:ctrl+grave_accent=toggle_quick_terminal
keybind = page_up=scroll_page_up
keybind = page_down=scroll_page_down
quick-terminal-animation-duration = 0

View file

@ -28,6 +28,7 @@ yabai -m config mouse_modifier ctrl
#yabai -m config --space 2 window_gap
# Floating (unmanaged) apps
yabai -m rule --add app=".*" sub-layer=normal
yabai -m rule --add app="^Calculator$" manage=off
yabai -m rule --add app"^=VLC$" manage=off
yabai -m rule --add app="^System Settings$" manage=off