Feature: Make Ghostty the default terminal

Super+Return, $TERMINAL (rofi-sensible-terminal and scripts) and Thunar's
"Open Terminal Here" (exo helper + helpers.rc) now open Ghostty; foot stays
installed as the fallback. Also replaces Ghostty's deprecated
gtk-tabs-location = hidden with window-show-tab-bar = never.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 08:50:20 +01:00
parent 20873c1ca6
commit 37c03fa03c
6 changed files with 23 additions and 6 deletions

View File

@@ -70,7 +70,7 @@ List of programs and tools I use.
| Component | Program |
|-------------------|------------|
|🪟 Windows Manager | [hyprland](https://github.com/hyprwm/Hyprland) |
|🖥️ Terminal | [foot](https://codeberg.org/dnkl/foot) / [ghostty](https://ghostty.org/) (system updater) |
|🖥️ Terminal | [ghostty](https://ghostty.org/) / [foot](https://codeberg.org/dnkl/foot) (fallback) |
|🐚 Shell | [zsh](https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH) + oh-my-zsh / [oh-my-posh](https://ohmyposh.dev/) prompt (`.config/ohmyposh/zen.toml`) |
|📁 File Manager | [thunar](https://wiki.archlinux.org/title/Thunar) |
|📝 Editor | [vs code](https://github.com/microsoft/vscode) / [neovim (changing to soon)](https://github.com/neovim/neovim) |

View File

@@ -1,6 +1,6 @@
# Ported from foot/foot.ini — same look and bindings, so the two can be
# tried side by side. foot is still $term in Hyprland; launch this with
# `ghostty`. Check edits with `ghostty +validate-config`.
# tried side by side. Ghostty is now the default terminal ($term in
# hypr/input/keybinds.lua). Check edits with `ghostty +validate-config`.
# --- Font / window ---
font-family = JetBrainsMono Nerd Font
@@ -17,9 +17,10 @@ window-padding-balance = true
window-width = 135
window-height = 31
# No title bar / tabs strip from GTK — Hyprland draws the borders.
# No title bar or tab strip — Hyprland draws the borders. (window-show-tab-bar
# replaces the deprecated gtk-tabs-location = hidden.)
window-decoration = none
gtk-tabs-location = hidden
window-show-tab-bar = never
# --- Terminal type ---
# foot forced TERM=xterm-256color everywhere so SSH'd hosts wouldn't lack

View File

@@ -40,6 +40,9 @@ hl.env("HYPRCURSOR_SIZE", "24")
hl.env("XCURSOR_THEME", "Bibata-Modern-Classic")
hl.env("XCURSOR_SIZE", "24")
-- Default terminal for anything that asks $TERMINAL (rofi-sensible-terminal, scripts)
hl.env("TERMINAL", "ghostty")
-- firefox
hl.env("MOZ_ENABLE_WAYLAND", "1")

View File

@@ -10,7 +10,7 @@ local userScripts = os.getenv("HOME") .. "/.config/hypr/UserScripts"
local edit = os.getenv("EDITOR") or "nvim"
-- These two are for UserKeybinds.conf & Waybar Modules
local term = "foot" -- Terminal
local term = "ghostty" -- Terminal (foot is still installed as a fallback)
local files = "thunar" -- File Manager
-- Default Search Engine for ROFI Search (SUPER S)

View File

@@ -0,0 +1 @@
TerminalEmulator=ghostty

View File

@@ -0,0 +1,12 @@
[Desktop Entry]
# exo helper so Thunar's "Open Terminal Here" (exo-open --launch TerminalEmulator)
# opens Ghostty; selected by ~/.config/xfce4/helpers.rc
NoDisplay=true
Version=1.0
Type=X-XFCE-Helper
X-XFCE-Category=TerminalEmulator
Name=Ghostty
Icon=com.mitchellh.ghostty
X-XFCE-Binaries=ghostty;
X-XFCE-Commands=%B;
X-XFCE-CommandsWithParameter=%B -e "%s";