lxterminal -> ghostty
This commit is contained in:
parent
25934a0e7c
commit
6d0f430ba3
@ -23,7 +23,8 @@
|
||||
environment.systemPackages = with pkgs; [
|
||||
firefox
|
||||
pavucontrol
|
||||
lxterminal
|
||||
lxterminal # TODO: remove?
|
||||
ghostty
|
||||
(pkgs.gnome-tweaks or pkgs.gnome.gnome-tweaks)
|
||||
# TODO: shadow gnome-terminal
|
||||
ffmpegthumbnailer
|
||||
|
@ -3,7 +3,8 @@
|
||||
{
|
||||
|
||||
imports = [
|
||||
./lxterminal
|
||||
/* ./lxterminal */
|
||||
./ghostty
|
||||
./pulsar
|
||||
./zed
|
||||
./mime.nix
|
||||
|
12
users/pbsds/home/profiles/desktop/ghostty/default.nix
Normal file
12
users/pbsds/home/profiles/desktop/ghostty/default.nix
Normal file
@ -0,0 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.ghostty ];
|
||||
home.file.".config/ghostty/config".source = ./ghosty.config;
|
||||
home.file.".config/ghostty/config".force = true;
|
||||
|
||||
dconf.settings."org/gnome/desktop/default-applications/terminal" = {
|
||||
/* exec = lib.getExe pkgs.ghostty; */
|
||||
exec = "ghostty";
|
||||
exec-arg = "-e";
|
||||
};
|
||||
}
|
26
users/pbsds/home/profiles/desktop/ghostty/ghosty.config
Normal file
26
users/pbsds/home/profiles/desktop/ghostty/ghosty.config
Normal file
@ -0,0 +1,26 @@
|
||||
font-size = 14
|
||||
font-family = Monospace Regular
|
||||
theme = Builtin Tango Dark
|
||||
foreground = #d3d7cf
|
||||
#palette = 0=#d3d7cf
|
||||
#window-decoration = false
|
||||
gtk-wide-tabs = false
|
||||
|
||||
#font-synthetic-style = true
|
||||
#font-style = false
|
||||
#font-thicken = false
|
||||
#bold-is-bright = false
|
||||
#font-variation = "wght=100"
|
||||
|
||||
shell-integration-features = no-cursor
|
||||
cursor-style = block
|
||||
cursor-color = #d3d7cf
|
||||
|
||||
confirm-close-surface = true
|
||||
|
||||
keybind = ctrl+comma=unbind
|
||||
keybind = ctrl+shift+comma=unbind
|
||||
keybind = ctrl+shift+page_down=move_tab:+1
|
||||
keybind = ctrl+shift+page_up=move_tab:-1
|
||||
keybind = ctrl+shift+up=scroll_page_lines:-1
|
||||
keybind = ctrl+shift+down=scroll_page_lines:1
|
@ -117,7 +117,7 @@ with lib.hm.gvariant;
|
||||
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
|
||||
binding = "<Primary><Alt>t";
|
||||
command = "lxterminal";
|
||||
command = "ghostty";
|
||||
name = "Open Terminal";
|
||||
};
|
||||
|
||||
@ -135,13 +135,13 @@ with lib.hm.gvariant;
|
||||
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom11" = {
|
||||
binding = "<Shift><Control>space";
|
||||
command = "lxterminal -e nix repl '<nixpkgs>'";
|
||||
command = "ghostty -e nix repl '<nixpkgs>'";
|
||||
name = "nixpkgs repl";
|
||||
};
|
||||
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom12" = {
|
||||
binding = "";
|
||||
command = "sh -c \"lxterminal -e python3 -i $HOME/.local/opt/sympy-interactive-imports.py\"";
|
||||
command = "sh -c \"ghostty -e python3 -i $HOME/.local/opt/sympy-interactive-imports.py\"";
|
||||
name = "Open SymPy terminal";
|
||||
};
|
||||
|
||||
@ -171,7 +171,7 @@ with lib.hm.gvariant;
|
||||
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5" = {
|
||||
binding = "<Primary><Alt>space";
|
||||
command = "sh -c \"lxterminal -e `command -v ptpython || echo python3` -i $HOME/.local/opt/python-interactive-imports.py\"";
|
||||
command = "sh -c \"ghostty -e `command -v ptpython || echo python3` -i $HOME/.local/opt/python-interactive-imports.py\"";
|
||||
name = "Open Python Terminal";
|
||||
};
|
||||
|
||||
|
@ -3,4 +3,12 @@
|
||||
home.packages = with pkgs; [ lxterminal ];
|
||||
home.file.".config/lxterminal/lxterminal.conf".source = ./lxterminal.conf;
|
||||
home.file.".config/lxterminal/lxterminal.conf".force = true;
|
||||
|
||||
/*
|
||||
dconf.settings."org/gnome/desktop/default-applications/terminal" = {
|
||||
exec = "lxterminal";
|
||||
exec-arg = "-e";
|
||||
};
|
||||
*/
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user