nix/home/file/sway/module/Style.nix

18 lines
736 B
Nix
Raw Normal View History

{ config, ... }:
let
accent = config.module.style.color.accent + alpha;
alpha = config.module.style.opacity.hex;
border = config.module.style.color.border + alpha;
fg = config.module.style.color.fg.light;
in
{
text = ''
output * bg ${config.module.wallpaper.path} fill
client.focused "#${accent}" "#${accent}" "#${fg}" "#${accent}" "#${accent}"
client.focused_inactive "#${border}" "#${border}" "#${fg}" "#${border}" "#${border}"
client.unfocused "#${border}" "#${border}" "#${fg}" "#${border}" "#${border}"
client.urgent "#${border}" "#${border}" "#${fg}" "#${border}" "#${border}"
client.placeholder "#${border}" "#${border}" "#${fg}" "#${border}" "#${border}"
'';
2024-04-03 05:06:03 +03:00
}