switch to ghostty
This commit is contained in:
parent
5826ee52fc
commit
77f1bfacc6
4 changed files with 15 additions and 20 deletions
|
|
@ -62,10 +62,6 @@
|
|||
fastfetch
|
||||
coreutils # GNU core utilities (base64, etc.)
|
||||
|
||||
# Clipboard utilities for tmux integration
|
||||
wl-clipboard # Wayland clipboard (wl-copy/wl-paste)
|
||||
xclip # X11 clipboard fallback
|
||||
|
||||
# Development and build tools
|
||||
python312
|
||||
uv
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
../../../modules/tex.nix
|
||||
../../../modules/gnome.nix
|
||||
../../../modules/firefox.nix
|
||||
../../../modules/ghostty.nix
|
||||
];
|
||||
|
||||
# Enable GNOME configuration
|
||||
|
|
@ -18,6 +19,14 @@
|
|||
enable = true;
|
||||
};
|
||||
|
||||
# Enable Ghostty terminal with OSC-52 clipboard support
|
||||
programs.ghostty-custom = {
|
||||
enable = true;
|
||||
package = pkgs.ghostty;
|
||||
fontSize = 12;
|
||||
windowMode = "maximized";
|
||||
};
|
||||
|
||||
# Enable Firefox browser
|
||||
programs.firefox-custom = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue