From cf4e6a6dcb9aebc9ac3664301b227750be0e79b4 Mon Sep 17 00:00:00 2001 From: zymon Date: Sat, 15 Mar 2025 14:16:14 +0100 Subject: [PATCH] ghostty new term --- config/ghostty/config | 8 ++++++++ config/i3/config | 2 +- config/rofi/config.rasi | 2 +- install.sh | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 config/ghostty/config diff --git a/config/ghostty/config b/config/ghostty/config new file mode 100644 index 0000000..e0697e7 --- /dev/null +++ b/config/ghostty/config @@ -0,0 +1,8 @@ +font-size = 10 +mouse-hide-while-typing = true +window-decoration = false + +background-opacity = 0.5 +background-blur = false + +copy-on-select = clipboard diff --git a/config/i3/config b/config/i3/config index 1b81231..fe6b802 100644 --- a/config/i3/config +++ b/config/i3/config @@ -21,7 +21,7 @@ for_window [all] title_window_icon padding 10px floating_modifier $mod ## Run a terminal -set $term wezterm start --always-new-process +set $term ghostty bindsym $mod+Return exec $term diff --git a/config/rofi/config.rasi b/config/rofi/config.rasi index 6078dba..06285b1 100644 --- a/config/rofi/config.rasi +++ b/config/rofi/config.rasi @@ -3,6 +3,6 @@ configuration { font: "mono 12"; fixed-num-lines: true; show-icons: true; - terminal: "st"; + terminal: "ghostty"; } @theme "nord" diff --git a/install.sh b/install.sh index 3b61923..e392d2c 100755 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ mkdir -p "${XDG_BIN_HOME}" mkdir -p "${XDG_DATA_HOME}" mkdir -p "${XDG_DATA_HOME}"/zsh -INSTALL_CONFIGS=(dunst git i3 i3blocks lf ncmpcpp mpd picom redshift rofi tmux wezterm x11 zsh) +INSTALL_CONFIGS=(dunst git i3 i3blocks lf ncmpcpp mpd picom redshift rofi tmux wezterm ghostty x11 zsh) for f in $INSTALL_CONFIGS ; do echo "Installing config for ${f}..." rm -rf ${XDG_CONFIG_HOME}/${f} > /dev/null 2>&1