From 7c5454be584196350c34a8ffba59bedd9025bf36 Mon Sep 17 00:00:00 2001 From: moons14 Date: Wed, 29 Oct 2025 19:27:49 +0900 Subject: [PATCH] ghostty setting --- modules/core/fonts.nix | 1 + modules/home/ghostty/config | 21 +++++++++++++++++---- modules/home/niri/config.kdl | 2 +- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/modules/core/fonts.nix b/modules/core/fonts.nix index d89bec2..d134d7d 100644 --- a/modules/core/fonts.nix +++ b/modules/core/fonts.nix @@ -8,6 +8,7 @@ terminus_font cantarell-fonts font-awesome + nerd-fonts.blex-mono ]; fontDir.enable = true; diff --git a/modules/home/ghostty/config b/modules/home/ghostty/config index d0162d2..b5d3ccf 100644 --- a/modules/home/ghostty/config +++ b/modules/home/ghostty/config @@ -1,11 +1,24 @@ -theme = Builtin Solarized Dark -background-opacity = 0.85 -palette = 8=#5d728c +theme = 0x96f +background-blur-radius = 20 +background-opacity = 0.9 +font-family = BlexMono Nerd Font Mono +font-size = 16 +mouse-hide-while-typing = true +window-decoration = true + + # keybind + +# Copy/Paste +keybind = ctrl+c=copy_to_clipboard +keybind = ctrl+v=paste_from_clipboard + # create new tab -keybind = ctrlt+t=new_tab +keybind = ctrl+t=new_tab + # move tabs keybind = ctrl+alt+left_bracket=previous_tab keybind = ctrl+alt+right_bracket=next_tab + # close tab keybind = ctrl+alt+q=close_window diff --git a/modules/home/niri/config.kdl b/modules/home/niri/config.kdl index 3178424..a71661e 100644 --- a/modules/home/niri/config.kdl +++ b/modules/home/niri/config.kdl @@ -363,7 +363,7 @@ binds { Mod+Shift+Slash { show-hotkey-overlay; } // Suggested binds for running programs: terminal, app launcher, screen locker. - Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } + Mod+T hotkey-overlay-title="Open a Terminal: ghostty" { spawn "ghostty"; } Mod+D hotkey-overlay-title="Run an Application: vicinae" { spawn "vicinae" "toggle"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }