feat!: change from wezterm to alacritty
Unfortunaly wezterm after updating started to have serious perfomance problems.
This commit is contained in:
@@ -47,6 +47,30 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
programs.alacritty.settings.colors = with config.colorScheme.palette; rec {
|
||||
primary = {
|
||||
foreground = "#${base05}";
|
||||
background = "#${base00}";
|
||||
};
|
||||
|
||||
normal = {
|
||||
black = "#${base02}";
|
||||
red = "#${base08}";
|
||||
green = "#${base0B}";
|
||||
yellow = "#${base0A}";
|
||||
blue = "#${base0D}";
|
||||
magenta = "#${base0E}";
|
||||
cyan = "#${base0C}";
|
||||
white = "#${base05}";
|
||||
};
|
||||
bright = normal;
|
||||
|
||||
selection = {
|
||||
text = primary.foreground;
|
||||
background = primary.background;
|
||||
};
|
||||
};
|
||||
|
||||
programs.wezterm.config.color_scheme = mkDefault "system";
|
||||
programs.wezterm.colorSchemes = mkIf (config.programs.wezterm.config.color_scheme == "system") {
|
||||
system = with config.colorScheme.palette; {
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
{pkgs, ...}: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
];
|
||||
|
||||
programs.hyprland.enable = true;
|
||||
programs.hyprland.settings = let
|
||||
mod = "SUPER";
|
||||
terminal = "${config.profiles.gterminal.emulator.bin}";
|
||||
librewolf = "${pkgs.librewolf}/bin/librewolf";
|
||||
rofi = "${pkgs.rofi}/bin/rofi";
|
||||
grim = "${pkgs.grim}/bin/grim";
|
||||
@@ -18,8 +23,8 @@
|
||||
"${mod}, V, togglefloating"
|
||||
"${mod}, F, fullscreen"
|
||||
"${mod}, Z, togglesplit"
|
||||
"${mod}, Q, exec, ${pkgs.wezterm}/bin/wezterm"
|
||||
"${mod}, E, exec, ${pkgs.wezterm}/bin/wezterm start lf"
|
||||
"${mod}, Q, exec, ${terminal}"
|
||||
"${mod}, E, exec, ${terminal} -e lf"
|
||||
"${mod} + SHIFT, E, exec, ${librewolf}"
|
||||
"${mod}, S, exec, ${rofi} -show drun -show-icons"
|
||||
",Print, exec, ${grim} -g \"$(${slurp} -d)\" - | ${wl-copy}"
|
||||
|
||||
Reference in New Issue
Block a user