mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2025-05-22 09:05:50 -07:00
add ghostty
This commit is contained in:
parent
f6576bec8b
commit
570d4893e1
20
.config/ghostty/config
Normal file
20
.config/ghostty/config
Normal file
@ -0,0 +1,20 @@
|
||||
font-family = JetBrainsMono Nerd Font
|
||||
window-title-font-family = JetBrainsMono Nerd Font
|
||||
font-size = 12
|
||||
font-feature = +calt
|
||||
font-feature = +liga
|
||||
font-feature = +dlig
|
||||
theme = catppuccin-macchiato
|
||||
cursor-style = block
|
||||
window-padding-x = 10
|
||||
window-padding-y = 10
|
||||
window-decoration = false
|
||||
window-height = 46
|
||||
window-width = 180
|
||||
confirm-close-surface = false
|
||||
copy-on-select = clipboard
|
||||
app-notifications = no-clipboard-copy
|
||||
keybind = all:ctrl+enter=unbind
|
||||
keybind = all:ctrl+shift+j=next_tab
|
||||
keybind = all:ctrl+shift+k=last_tab
|
||||
keybind = all:ctrl+grave_accent=toggle_quick_terminal
|
43
.config/ghostty/ghostty-fonts.conf
Normal file
43
.config/ghostty/ghostty-fonts.conf
Normal file
@ -0,0 +1,43 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
<!-- Include the system defaults -->
|
||||
<include ignore_missing="yes">/etc/fonts/fonts.conf</include>
|
||||
<include ignore_missing="yes">/etc/fonts/conf.d</include>
|
||||
|
||||
<!-- Custom overrides for Ghostty -->
|
||||
<!-- Force JetBrainsMono Nerd Font (and fallback to Noto Sans CJK JP) -->
|
||||
<match>
|
||||
<edit name="family" mode="prepend" binding="strong">
|
||||
<string>JetBrainsMono Nerd Font</string>
|
||||
</edit>
|
||||
<edit name="family" mode="append">
|
||||
<string>Noto Sans CJK JP</string>
|
||||
</edit>
|
||||
<edit name="family" mode="append">
|
||||
<string>FluentSystemIcons</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!-- For Japanese text, prefer Noto Sans CJK JP -->
|
||||
<match>
|
||||
<test name="lang" compare="contains">
|
||||
<string>ja</string>
|
||||
</test>
|
||||
<edit name="family" mode="prepend" binding="strong">
|
||||
<string>Noto Sans CJK JP</string>
|
||||
</edit>
|
||||
</match>
|
||||
|
||||
<!-- Monospace alias for Ghostty (so it uses the fixed‑width variant) -->
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>JetBrainsMono Nerd Font Mono</family>
|
||||
<family>Noto Sans Mono CJK JP</family>
|
||||
<family>DejaVu Sans Mono</family>
|
||||
<family>Noto Sans Mono</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
|
Loading…
x
Reference in New Issue
Block a user