Switch to ghostty
This commit is contained in:
parent
1e7e7b1dab
commit
7df535c64f
2 changed files with 12 additions and 4 deletions
|
|
@ -28,6 +28,15 @@
|
||||||
loupe
|
loupe
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.ghostty = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
font-family = "JetBrainsMono Nerd Font";
|
||||||
|
font-size = 10;
|
||||||
|
theme = "Catppuccin Mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
xdg.mimeApps = {
|
xdg.mimeApps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
|
|
|
||||||
|
|
@ -81,9 +81,8 @@ in
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
terminal = "wezterm";
|
terminal = "ghostty";
|
||||||
menu = "fuzzel";
|
menu = "fuzzel";
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
names = [ "JetBrainsMono Nerd Font" ];
|
names = [ "JetBrainsMono Nerd Font" ];
|
||||||
style = "Regular";
|
style = "Regular";
|
||||||
|
|
@ -155,7 +154,7 @@ in
|
||||||
keybindings = let
|
keybindings = let
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
in lib.mkOptionDefault {
|
in lib.mkOptionDefault {
|
||||||
"${modifier}+Return" = "exec wezterm";
|
"${modifier}+Return" = "exec ghostty";
|
||||||
"${modifier}+d" = "exec fuzzel";
|
"${modifier}+d" = "exec fuzzel";
|
||||||
"${modifier}+Shift+q" = "kill";
|
"${modifier}+Shift+q" = "kill";
|
||||||
"${modifier}+Shift+c" = "reload";
|
"${modifier}+Shift+c" = "reload";
|
||||||
|
|
@ -262,7 +261,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
main = {
|
main = {
|
||||||
terminal = "${pkgs.wezterm}/bin/wezterm";
|
terminal = "${pkgs.ghostty}/bin/ghostty";
|
||||||
layer = "overlay";
|
layer = "overlay";
|
||||||
width = 100;
|
width = 100;
|
||||||
line-height = 40;
|
line-height = 40;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue