hyprland: update shadow configuration

This commit is contained in:
ooks-io 2024-11-13 12:53:11 +11:00
parent 86b4adb6e2
commit 0b671a4752

View file

@ -1,6 +1,10 @@
{osConfig, ...}: let {
inherit (osConfig.ooknet.appearance) colorscheme cursor; osConfig,
inherit (colorscheme) palette; hozen,
...
}: let
inherit (osConfig.ooknet.appearance) cursor;
inherit (hozen) color;
in { in {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
settings = { settings = {
@ -11,8 +15,8 @@ in {
gaps_in = 10; gaps_in = 10;
gaps_out = 10; gaps_out = 10;
border_size = 2; border_size = 2;
"col.active_border" = "0xff${palette.base05}"; "col.active_border" = "0xff${color.border.active}";
"col.inactive_border" = "0xff${palette.base02}"; "col.inactive_border" = "0xff${color.border.inactive}";
}; };
exec-once = [ exec-once = [
@ -30,14 +34,13 @@ in {
enabled = false; enabled = false;
ignore_opacity = true; ignore_opacity = true;
}; };
shadow = {
drop_shadow = true; range = 12;
shadow_range = 12; offset = "3 3";
shadow_offset = "3 3"; color = "0x44000000";
"col.shadow" = "0x44000000"; color_inactive = "0x66000000";
"col.shadow_inactive" = "0x66000000"; };
}; };
animations = { animations = {
enabled = false; enabled = false;
}; };