Last active
May 13, 2025 21:39
-
-
Save samundra/6810613cc0853feb5edb7d94666fbe09 to your computer and use it in GitHub Desktop.
.config/ghostty/config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# # Filename: $HOME/.config/ghostty/config | |
# # Some config options have unique syntaxes for their value, | |
# # which is explained in the docs for that config option. | |
# # Just for example: | |
# resize-overlay-duration = 4s 200ms | |
# Colors | |
theme = catppuccin-macchiato | |
#theme = catppuccin-frappe | |
#background = #2b2d37 | |
#background-opacity = 0.8 | |
#background-blur-radius = 15 | |
# Fonts | |
adjust-cell-width = 0 | |
adjust-cell-height = 35% | |
#font-size = 16 | |
font-feature = -liga | |
font-feature = -calt | |
font-feature = -dlig | |
font-style-bold = true | |
font-family = FiraCode Nerd Font Mono | |
font-thicken = true | |
font-thicken-strength = 180 | |
# Cursor | |
cursor-style = block | |
cursor-style-blink = false | |
# Mouse | |
mouse-hide-while-typing = true | |
# macOS | |
macos-titlebar-style = tabs | |
# Keybindings | |
keybind = cmd+shift+t=toggle_quick_terminal | |
#window | |
window-theme = auto | |
window-colorspace = display-p3 | |
window-padding-x = 8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Filename: $HOME/.config/wezterm/wezterm.lua | |
-- Pull in the wezterm API | |
local wezterm = require 'wezterm' | |
-- This will hold the configuration. | |
local config = wezterm.config_builder() | |
-- This is where you actually apply your config choices. | |
-- For example, changing the initial geometry for new windows: | |
config.initial_cols = 120 | |
config.initial_rows = 28 | |
-- or, changing the font size and color scheme. | |
-- config.font = wezterm.font 'JetBrains Mono' | |
config.font = wezterm.font 'FiraCode Nerd Font Mono' | |
config.font_size = 15 | |
config.freetype_load_flags = 'NO_HINTING' | |
config.freetype_interpreter_version = 35 | |
config.freetype_load_target = 'Light' | |
config.line_height = 1.3 | |
config.cell_width = 0.9 | |
-- Disable ligatures | |
config.harfbuzz_features = { 'calt=0', 'clig=0', 'liga=0' } | |
-- Theme | |
config.color_scheme = 'Catppuccin Macchiato' -- Good one | |
-- Tab settings | |
config.use_fancy_tab_bar = false | |
config.show_tabs_in_tab_bar = true | |
config.show_new_tab_button_in_tab_bar = false | |
-- Window settings | |
config.window_background_opacity = 0.85 | |
config.macos_window_background_blur = 20 | |
config.window_frame = { | |
font = wezterm.font { family = 'Roboto', weight = 'Bold' }, | |
font_size = 17.0, | |
active_titlebar_bg = '#333333', | |
inactive_titlebar_bg = '#333333', | |
} | |
-- Hold Command Button to Drag the Wezterm window around | |
config.window_decorations = "RESIZE" | |
config.scrollback_lines = 5000 | |
config.tab_bar_at_bottom = true | |
config.tab_max_width = 999 | |
config.colors = { | |
tab_bar = { | |
background = '#0b0022', | |
active_tab = { | |
bg_color = '#2b2042', | |
fg_color = '#c0c0c0', | |
intensity = 'Normal', | |
underline = 'None', | |
italic = false, | |
strikethrough = false, | |
}, | |
inactive_tab = { | |
bg_color = '#1b1032', | |
fg_color = '#808080', | |
}, | |
-- The color of the inactive tab bar edge/divider | |
inactive_tab_edge = '#575757', | |
} | |
} | |
-- Add iTerm Like pane split keyboard shortcuts | |
config.keys = { | |
{ key = '0', mods = 'CTRL', action = wezterm.action.ResetFontSize }, | |
-- iTerm like Split panes | |
{ | |
key = 'd', | |
mods = 'CMD', | |
action = wezterm.action.SplitHorizontal { domain = 'CurrentPaneDomain' }, | |
}, | |
{ | |
key = 'd', | |
mods = 'CMD|SHIFT', | |
action = wezterm.action.SplitVertical { domain = 'CurrentPaneDomain' }, | |
}, | |
} | |
-- Finally, return the configuration to wezterm: | |
return config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment