From adf7ed5e05de774c6332e9cd73001b3293ae04f7 Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Tue, 18 Feb 2025 16:31:27 +0500 Subject: [PATCH] feat: HomeManager | switch terminal to ghostty --- dotfiles/hypr/hyprland.conf | 2 +- home/shahab/common/optional/ghostty.nix | 17 +++++++++++++++++ home/shahab/rihla.nix | 1 + 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 home/shahab/common/optional/ghostty.nix diff --git a/dotfiles/hypr/hyprland.conf b/dotfiles/hypr/hyprland.conf index 04004aa..448e1ad 100644 --- a/dotfiles/hypr/hyprland.conf +++ b/dotfiles/hypr/hyprland.conf @@ -25,7 +25,7 @@ monitor=,preferred,auto,auto # See https://wiki.hyprland.org/Configuring/Keywords/ # Set programs that you use -$terminal = alacritty +$terminal = ghostty $fileManager = dolphin $menu = wofi --show drun diff --git a/home/shahab/common/optional/ghostty.nix b/home/shahab/common/optional/ghostty.nix new file mode 100644 index 0000000..6fc6510 --- /dev/null +++ b/home/shahab/common/optional/ghostty.nix @@ -0,0 +1,17 @@ +{ + config, + ... +}: + +{ + programs.ghostty = { + enable = true; + + settings = { + theme = "catppuccin-mocha"; + font-family = config.hostSpec.font; + font-size = 14; + initial-command = "tmux"; + }; + }; +} diff --git a/home/shahab/rihla.nix b/home/shahab/rihla.nix index f95451b..8ea1dd4 100644 --- a/home/shahab/rihla.nix +++ b/home/shahab/rihla.nix @@ -11,6 +11,7 @@ (map (config: "${builtins.toString ./.}/common/optional/${config}.nix") [ "btop" "firefox" + "ghostty" "hyprland" "misc-packages" "nvim"