chore(terminal): switch default terminal to ptyxis
This commit is contained in:
parent
a59facdb0a
commit
2f8f5e340b
6 changed files with 15 additions and 16 deletions
|
|
@ -25,24 +25,23 @@ let
|
|||
comment = "Browse files";
|
||||
};
|
||||
|
||||
ghosttyDesktopOverride = pkgs.makeDesktopItem {
|
||||
name = "com.mitchellh.ghostty";
|
||||
ptyxisDesktopOverride = pkgs.makeDesktopItem {
|
||||
name = "org.gnome.Ptyxis";
|
||||
desktopName = "Terminal";
|
||||
genericName = "Terminal Emulator";
|
||||
exec = "ghostty";
|
||||
icon = "com.mitchellh.ghostty";
|
||||
exec = "ptyxis";
|
||||
icon = "org.gnome.Ptyxis";
|
||||
categories = [
|
||||
"System"
|
||||
"TerminalEmulator"
|
||||
"Utility"
|
||||
];
|
||||
terminal = false;
|
||||
comment = "Fast GPU-accelerated terminal";
|
||||
};
|
||||
in
|
||||
{
|
||||
environment.systemPackages = lib.mkAfter [
|
||||
(lib.hiPrio thunarDesktopOverride)
|
||||
(lib.hiPrio ghosttyDesktopOverride)
|
||||
(lib.hiPrio ptyxisDesktopOverride)
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ in
|
|||
disable-user-extensions = false;
|
||||
favorite-apps = [
|
||||
"thunar.desktop"
|
||||
"com.mitchellh.ghostty.desktop"
|
||||
"org.gnome.Ptyxis.desktop"
|
||||
"com.ranfdev.DistroShelf.desktop"
|
||||
"io.github.kolunmi.Bazaar.desktop"
|
||||
];
|
||||
|
|
@ -50,7 +50,7 @@ in
|
|||
|
||||
"org/gnome/shell/extensions/logo-menu" = {
|
||||
menu-button-icon-image = lib.gvariant.mkInt32 51;
|
||||
menu-button-terminal = "ghostty";
|
||||
menu-button-terminal = "ptyxis";
|
||||
menu-button-system-monitor = "missioncenter";
|
||||
menu-button-extensions-app = "com.mattjakeman.ExtensionManager.desktop";
|
||||
hide-softwarecentre = true;
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ diff -ru logo-menu-patch-orig/schemas/org.gnome.shell.extensions.logo-menu.gsche
|
|||
|
||||
<key type="s" name="menu-button-terminal">
|
||||
- <default>"gnome-terminal"</default>
|
||||
+ <default>"ghostty"</default>
|
||||
+ <default>"ptyxis"</default>
|
||||
<summary>Menu Button Terminal</summary>
|
||||
<description>Change the Menu Button Terminal.</description>
|
||||
</key>
|
||||
|
|
|
|||
|
|
@ -10,12 +10,12 @@
|
|||
pkgs.dnsmasq
|
||||
pkgs.fastfetch
|
||||
pkgs.flatpak
|
||||
pkgs.ghostty
|
||||
pkgs.git
|
||||
pkgs.home-manager
|
||||
pkgs.just
|
||||
pkgs.libnotify
|
||||
pkgs.micro
|
||||
pkgs.ptyxis
|
||||
pkgs.p7zip
|
||||
pkgs.podman-compose
|
||||
pkgs.xdg-utils
|
||||
|
|
|
|||
|
|
@ -23,10 +23,10 @@ in
|
|||
pkgs.zoxide
|
||||
];
|
||||
|
||||
# Use Ghostty as the default terminal emulator.
|
||||
# Use Ptyxis as the default terminal emulator.
|
||||
environment.sessionVariables = {
|
||||
TERMINAL = "${pkgs.ghostty}/bin/ghostty";
|
||||
DEFAULT_TERMINAL = "${pkgs.ghostty}/bin/ghostty";
|
||||
TERMINAL = "${pkgs.ptyxis}/bin/ptyxis";
|
||||
DEFAULT_TERMINAL = "${pkgs.ptyxis}/bin/ptyxis";
|
||||
};
|
||||
|
||||
programs.bash = {
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@
|
|||
thunderbird # full-featured Mozilla e-mail client
|
||||
# geary # default GNOME email client
|
||||
|
||||
# ptyxis # container aware GNOME terminal
|
||||
# ghostty # GPU accelerated terminal emulator
|
||||
# alacritty # GPU accelerated terminal emulator
|
||||
# kitty # GPU accelerated terminal emulator
|
||||
|
||||
|
|
@ -111,8 +111,8 @@ home-manager switch --flake ~/.config/home-manager#$USER
|
|||
|
||||
home.sessionVariables = {
|
||||
# you can change the default terminal and editor here
|
||||
TERMINAL = "${pkgs.ghostty}/bin/ghostty";
|
||||
DEFAULT_TERMINAL = "${pkgs.ghostty}/bin/ghostty";
|
||||
TERMINAL = "${pkgs.ptyxis}/bin/ptyxis";
|
||||
DEFAULT_TERMINAL = "${pkgs.ptyxis}/bin/ptyxis";
|
||||
EDITOR = "micro";
|
||||
DBX_CONTAINER_HOME_PREFIX = "$HOME/distrobox";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue