nix/home/config/sway/module/Style.nix

17 lines
719 B
Nix
Raw Normal View History

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