t490: set ghostty as the default terminal

This commit is contained in:
Oliver Davies 2025-01-04 14:08:34 +00:00
parent 389e5f247a
commit 2c9af56ff7
3 changed files with 6 additions and 3 deletions

View file

@ -12,6 +12,7 @@
discord.enable = true; discord.enable = true;
espanso.enable = true; espanso.enable = true;
flameshot.enable = true; flameshot.enable = true;
ghostty.enable = true;
gtk.enable = true; gtk.enable = true;
slack.enable = true; slack.enable = true;

View file

@ -37,7 +37,8 @@
}; };
desktop = { desktop = {
alacritty.enable = lib.mkDefault true; alacritty.enable = lib.mkDefault false;
ghostty.enable = lib.mkDefault true;
}; };
} }
]; ];

View file

@ -91,13 +91,14 @@ in
"XF86AudioRaiseVolume" = "exec pamixer -ui 2 && pamixer --get-volume"; "XF86AudioRaiseVolume" = "exec pamixer -ui 2 && pamixer --get-volume";
"XF86AudioLowerVolume" = "exec pamixer -ud 2 && pamixer --get-volume"; "XF86AudioLowerVolume" = "exec pamixer -ud 2 && pamixer --get-volume";
"XF86AudioMute" = ''exec pamixer --toggle-mute && ( [ "$(pamixer --get-mute)" = "true" ] && echo 0''; "XF86AudioMute" =
''exec pamixer --toggle-mute && ( [ "$(pamixer --get-mute)" = "true" ] && echo 0'';
"XF86MonBrightnessDown" = "exec brightnessctl set 5%- | sed -En 's/.*(([0-9]+)%).*/1/p'"; "XF86MonBrightnessDown" = "exec brightnessctl set 5%- | sed -En 's/.*(([0-9]+)%).*/1/p'";
"XF86MonBrightnessUp" = "exec brightnessctl set +5% | sed -En 's/.*(([0-9]+)%).*/1/p'"; "XF86MonBrightnessUp" = "exec brightnessctl set +5% | sed -En 's/.*(([0-9]+)%).*/1/p'";
}; };
terminal = "alacritty"; terminal = "ghostty";
}; };
extraConfig = '' extraConfig = ''