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