From 788bff01038ef4baf5f31273179ada41fa29f894 Mon Sep 17 00:00:00 2001 From: ulic-youthlic Date: Wed, 17 Sep 2025 00:25:17 +0800 Subject: [PATCH] chore: Use ghsotty as default terminal emulator instead of alacritty --- README.md | 14 +++++++------- README.org | 16 ++++++++-------- home/david/modules/programs/niri/config.nix | 4 ++-- nixos/modules/gui/niri.nix | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 47d52e6..ec79101 100644 --- a/README.md +++ b/README.md @@ -14,16 +14,16 @@ Hey, you. This is my nixos configurations. - david@Tytonidae -| Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM | -| :------------: | :-----: | :---------: | :---------: | :-------: | :------: | :-----: | :--------------: | -| default | niri | fish + bash | helix + zed | alacritty | fuzzel | firefox | greetd + regreet | -| kde | kde | fish + bash | helix + zed | alacritty | kde run | firefox | sddm | +| Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM | +| :------------: | :-----: | :---------: | :---------: | :------: | :------: | :-----: | :--------------: | +| default | niri | fish + bash | helix + zed | ghostty | fuzzel | firefox | greetd + regreet | +| kde | kde | fish + bash | helix + zed | ghostty | kde run | firefox | sddm | - david@Akun -| Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM | -| :------------: | :-----: | :---------: | :---------: | :-------: | :------: | :-----: | :--------------: | -| default | niri | fish + bash | helix + zed | alacritty | fuzzel | firefox | greetd + regreet | +| Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM | +| :------------: | :-----: | :---------: | :---------: | :------: | :------: | :-----: | :--------------: | +| default | niri | fish + bash | helix + zed | ghostty | fuzzel | firefox | greetd + regreet | - alice@Cape diff --git a/README.org b/README.org index f67a49a..c8888b3 100644 --- a/README.org +++ b/README.org @@ -13,16 +13,16 @@ Hey, you. This is my nixos configurations. - david@Tytonidae - | Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM | - |----------------+---------+-------------+-------------+-----------+----------+---------+------------------| - | default | niri | fish + bash | helix + zed | alacritty | fuzzel | firefox | greetd + regreet | - | kde | kde | fish + bash | helix + zed | alacritty | kde run | firefox | sddm | + | Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM | + |----------------+---------+-------------+-------------+----------+----------+---------+------------------| + | default | niri | fish + bash | helix + zed | ghostty | fuzzel | firefox | greetd + regreet | + | kde | kde | fish + bash | helix + zed | ghostty | kde run | firefox | sddm | - david@Akun - | Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM | - |----------------+---------+-------------+-------------+-----------+----------+---------+------------------| - | default | niri | fish + bash | helix + zed | alacritty | fuzzel | firefox | greetd + regreet | + | Specialisation | DE / WM | Shell | Editor | Terminal | Launcher | Browser | DM | + |----------------+---------+-------------+-------------+----------+----------+---------+------------------| + | default | niri | fish + bash | helix + zed | ghostty | fuzzel | firefox | greetd + regreet | - alice@Cape @@ -32,7 +32,7 @@ Hey, you. This is my nixos configurations. ** FlakE OutputS and StructurE -| =outputs= field | description | source | +| =outputs= field | description | source | |-------------------------------------------+-----------------------------------------------------------------------------+------------------------------------------| | =packages= | packages imported or wrapped from elsewhere | ./pkgs | | =lib= | patched nixpkgs.lib to include self-defined helper function | ./lib | diff --git a/home/david/modules/programs/niri/config.nix b/home/david/modules/programs/niri/config.nix index bccbbb0..dd7f83d 100644 --- a/home/david/modules/programs/niri/config.nix +++ b/home/david/modules/programs/niri/config.nix @@ -35,7 +35,7 @@ let polkit-kde-agent = getExe' pkgs.kdePackages.polkit-kde-agent-1 "polkit-kde-agent"; wpctl = getExe' pkgs.wireplumber "wpctl"; waypaper = getExe pkgs.waypaper; - alacritty = getExe config.programs.alacritty.package; + default-terminal = getExe config.programs.ghostty.package; wl-paste = getExe' pkgs.wl-clipboard "wl-paste"; cliphist = getExe' pkgs.cliphist "cliphist"; cliphist-fuzzel-img = getExe' pkgs.cliphist "cliphist-fuzzel-img"; @@ -75,7 +75,7 @@ in ]) (plain "Mod+T" [ (spawn [ - alacritty + default-terminal ]) ]) (plain "Mod+Shift+T" [ diff --git a/nixos/modules/gui/niri.nix b/nixos/modules/gui/niri.nix index eedb853..94f04c2 100644 --- a/nixos/modules/gui/niri.nix +++ b/nixos/modules/gui/niri.nix @@ -38,7 +38,7 @@ in terminal-exec = { enable = true; settings = { - default = [ "Alacritty.desktop" ]; + default = [ "com.mitchellh.ghostty.desktop" ]; }; }; mime = {