switch to ghostty

This commit is contained in:
Yan Lin 2025-10-21 21:18:05 +02:00
parent 5826ee52fc
commit 77f1bfacc6
4 changed files with 15 additions and 20 deletions

View file

@ -53,7 +53,7 @@ in
"org.gnome.Nautilus.desktop"
"firefox.desktop"
"obsidian.desktop"
"org.gnome.Console.desktop"
"com.mitchellh.ghostty.desktop"
"org.keepassxc.KeePassXC.desktop"
];
};
@ -66,14 +66,6 @@ in
mouse-sensitive-fullscreen-window = false;
};
# GNOME Console configuration
"org/gnome/Console" = {
audible-bell = false;
custom-font = "JetBrainsMono Nerd Font Mono 12";
use-system-font = false;
};
# Nautilus (GNOME Files) configuration
"org/gnome/nautilus/preferences" = {
show-hidden-files = true;

View file

@ -13,6 +13,9 @@
# Terminal settings
set -g default-terminal "screen-256color"
set -ga terminal-overrides ",xterm-256color:Tc"
# Enable OSC-52 clipboard integration (works with Ghostty)
set -g set-clipboard on
# Gruvbox Dark Theme (Truecolor)
# Status bar colors
@ -73,14 +76,9 @@
# Reload config file
bind r source-file ~/.config/tmux/tmux.conf \; display-message "Config reloaded!"
# Better copy mode
# Better copy mode with OSC-52 clipboard
bind-key -T copy-mode-vi v send-keys -X begin-selection
# Platform-aware clipboard: pbcopy (macOS) | wl-copy (Wayland) | xclip (X11)
bind-key -T copy-mode-vi y if-shell 'command -v pbcopy' \
'send-keys -X copy-pipe-and-cancel "pbcopy"' \
'if-shell "test -n \"$WAYLAND_DISPLAY\"" \
"send-keys -X copy-pipe-and-cancel \"wl-copy --foreground\"" \
"send-keys -X copy-pipe-and-cancel \"xclip -selection clipboard\""'
bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
# New window with current path