Skip to content

Commit

Permalink
add ghostty
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Billimek <jeff@billimek.com>
  • Loading branch information
billimek committed Dec 31, 2024
1 parent 99ae2a6 commit 83e09ae
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions home-manager/common/features/cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
./bat.nix
./direnv.nix
./fish.nix
./ghostty.nix
./nvim.nix
./gh.nix
./git.nix
Expand Down
44 changes: 44 additions & 0 deletions home-manager/common/features/cli/ghostty.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
# place ~/$HOME/Library/Application\ Support/com.mitchellh.ghostty/config file
home.file."Library/Application Support/com.mitchellh.ghostty/config".text = ''
clipboard-trim-trailing-spaces = true
copy-on-select = true
# use default fonts for now because the custom fonts render symbols too small
# see https://github.com/ghostty-org/ghostty/discussions/3501
# font-family = "MonaspiceNe NFM"
# font-family-bold = "MonaspiceNe NFM Bold"
# font-family-bold-italic = "MonaspiceRn NFM Bold Italic"
# font-family-italic = "MonaspiceRn NFM Italic"
font-size = 15
keybind = shift+page_down=scroll_page_down
keybind = shift+page_up=scroll_page_up
keybind = super+`=toggle_quick_terminal
keybind = super+left=previous_tab
keybind = super+right=next_tab
macos-auto-secure-input = true
macos-icon = custom-style
macos-icon-frame = aluminum
macos-icon-ghost-color = #cd6600
macos-icon-screen-color = #cd6600
macos-option-as-alt = true
macos-secure-input-indication = true
macos-titlebar-style = tabs
quit-after-last-window-closed = true
shell-integration = "detect"
shell-integration-features = cursor,sudo,title
#theme = "catppuccin-mocha"
#theme = Dracula
window-height = 35
window-padding-y = 0
window-save-state = always
window-theme = ghostty
# window-title-font-family = "MonaspiceNe NFM"
window-width = 280
'';
}
1 change: 1 addition & 0 deletions hosts/common/darwin/homebrew.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"1password-cli" # need to install CLI via brew too to make biometric unlock work with GUI app
"betterzip" # zip/unzip for quicklook
"discord" # chat
"ghostty"
"iterm2" # terminal
"karabiner-elements" # keyboard remapping
"notunes" # disable iTunes auto-launch
Expand Down

0 comments on commit 83e09ae

Please sign in to comment.