Hyprland move active border

This commit is contained in:
DashieTM 2024-09-01 11:22:09 +02:00
parent a5eebb6030
commit 41001a9122

View file

@ -95,7 +95,8 @@
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
settings = settings =
lib.optionalAttrs config.mods.hyprland.use_default_config { if config.mods.hyprland.use_default_config then
{
"$mod" = "SUPER"; "$mod" = "SUPER";
bindm = [ bindm = [
@ -211,7 +212,7 @@
general = { general = {
gaps_out = "3,5,5,5"; gaps_out = "3,5,5,5";
border_size = 3; border_size = 3;
"col.active_border" = lib.mkForce "0xFFFF0000 0xFF00FF00 0xFF0000FF 45deg"; "col.active_border" = lib.mkOverride 51 "0xFFFF0000 0xFF00FF00 0xFF0000FF 45deg";
# "col.inactive_border" = "0x66333333"; # "col.inactive_border" = "0x66333333";
allow_tearing = lib.mkIf config.mods.hyprland.no_atomic true; allow_tearing = lib.mkIf config.mods.hyprland.no_atomic true;
}; };
@ -353,7 +354,9 @@
# }; # };
# }; # };
} }
// config.mods.hyprland.custom_config; // config.mods.hyprland.custom_config
else
lib.mkForce config.mods.hyprland.custom_config;
plugins = config.mods.hyprland.plugins; plugins = config.mods.hyprland.plugins;
#inputs.Hyprspace.packages.${pkgs.system}.Hyprspace #inputs.Hyprspace.packages.${pkgs.system}.Hyprspace
}; };