diff --git a/Makefile b/Makefile index f8afb5c8..7f902f7e 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,9 @@ base: cargo git tmux zsh cargo: cargo_clean $(PWD)/cargo/bin/setup.sh +ghostty: ghostty_clean + $(PWD)/ghostty/bin/setup.sh + git: git_clean $(PWD)/git/bin/setup.sh @@ -49,9 +52,6 @@ tmux: tmux_clean uv: uv_clean curl -LsSf https://astral.sh/uv/install.sh | sh -wezterm: wezterm_clean - $(PWD)/wezterm/bin/setup.sh - zsh: zsh_clean $(PWD)/zsh/bin/setup.sh @@ -65,6 +65,9 @@ clean: \ cargo_clean: rm -rf $(HOME)/.cargo/config.toml +ghostty_clean: + rm -rf $(HOME)/Library/Application\ Support/com.mitchellh.ghostty + git_clean: rm -rf $(HOME)/.config/git/config rm -rf $(HOME)/.config/git/ignore @@ -83,9 +86,6 @@ tmux_clean: uv_clean: rm -rf $(HOME)/.local/bin/uv $(HOME)/.local/bin/uvx -wezterm_clean: - rm -rf $(HOME)/.config/wezterm - zsh_clean: rm -rf $(HOME)/.zshrc diff --git a/brew/config.d/gui/Brewfile b/brew/config.d/gui/Brewfile index cc5cb9a2..2d71b63c 100644 --- a/brew/config.d/gui/Brewfile +++ b/brew/config.d/gui/Brewfile @@ -1,10 +1,10 @@ cask 'arc' cask 'font-jetbrains-mono' cask 'docker' +cask 'ghostty' cask 'notion' cask 'ngrok/ngrok/ngrok' cask 'insomnia' cask 'slack' cask 'visual-studio-code' -cask 'wezterm' cask '1password' diff --git a/ghostty/bin/setup.sh b/ghostty/bin/setup.sh new file mode 100755 index 00000000..fa561338 --- /dev/null +++ b/ghostty/bin/setup.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +mkdir -p $HOME/Library/Application\ Support/com.mitchellh.ghostty + +ln -s \ + $HOME/dotfiles/ghostty/config.d/config \ + $HOME/Library/Application\ Support/com.mitchellh.ghostty/config diff --git a/ghostty/config.d/config b/ghostty/config.d/config new file mode 100644 index 00000000..c9908395 --- /dev/null +++ b/ghostty/config.d/config @@ -0,0 +1,5 @@ +font-family = "Jetbrains Mono" +font-size = 15 + +background-opacity = 0.8 +background-blur-radius = 20 \ No newline at end of file diff --git a/wezterm/bin/setup.sh b/wezterm/bin/setup.sh deleted file mode 100755 index 42c10651..00000000 --- a/wezterm/bin/setup.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -set -x - -mkdir -p $HOME/.config/wezterm -ln -s $HOME/dotfiles/wezterm/config.d/wezterm.lua $HOME/.config/wezterm/wezterm.lua diff --git a/wezterm/config.d/wezterm.lua b/wezterm/config.d/wezterm.lua deleted file mode 100644 index 4a4a1c4b..00000000 --- a/wezterm/config.d/wezterm.lua +++ /dev/null @@ -1,37 +0,0 @@ -local wezterm = require 'wezterm' -local config = {} - - -config.keys = {} -config.scrollback_lines = 9999999 - --- Use the defaults as a base -config.hyperlink_rules = wezterm.default_hyperlink_rules() - --- Font -config.font = wezterm.font 'JetBrains Mono NL' -config.font_size = 16.0 - --- https://wezfurlong.org/wezterm/colorschemes/g/index.html -config.color_scheme = 'Guezwhoz' -config.colors = {cursor_bg = 'cyan', cursor_fg = 'black'} -config.default_cursor_style = 'SteadyUnderline' -config.window_background_opacity = 0.8 - --- skip confirmation prompt when quitting app -config.window_close_confirmation = 'NeverPrompt' - --- fullscreen shortcut -config.native_macos_fullscreen_mode = true -config.keys[1] = { - key = 'f', - mods = 'CMD|CTRL', - action = wezterm.action.ToggleFullScreen, -} -config.keys[2] = { - key = 'Enter', - mods = 'CMD', - action = wezterm.action.ToggleFullScreen, -} - -return config