NixOS-Config/home-manager/sway/theme.nix

51 lines
1.6 KiB
Nix
Raw Normal View History

2024-09-23 16:22:01 -04:00
{config, pkgs, outputs, ...}: {
2024-08-24 22:16:51 -04:00
# Enable Sway and write some scripts
wayland.windowManager.sway = {
enable = true;
#package = pkgs.unstable.sway;
wrapperFeatures.gtk = true;
checkConfig = false;
2024-09-23 16:22:01 -04:00
config = {
2024-08-24 22:16:51 -04:00
# Theming settings
colors = {
focused = {
2024-09-23 16:22:01 -04:00
border = "#${outputs.look.colors.prime}";
background = "#${outputs.look.colors.prime}";
2024-08-24 22:16:51 -04:00
text = "#FFFFFF";
2024-09-23 16:22:01 -04:00
indicator = "#${outputs.look.colors.actSplit}";
childBorder = "#${outputs.look.colors.prime}";
2024-08-24 22:16:51 -04:00
};
focusedInactive = {
2024-09-23 16:22:01 -04:00
border = "#${outputs.look.colors.accent}";
background = "#${outputs.look.colors.accent}";
text = "#${outputs.look.colors.text}";
indicator = "#${outputs.look.colors.split}";
childBorder = "#${outputs.look.colors.accent}";
2024-08-24 22:16:51 -04:00
};
unfocused = {
2024-09-23 16:22:01 -04:00
border = "#${outputs.look.colors.dark}";
background = "#${outputs.look.colors.dark}";
text = "#${outputs.look.colors.text}";
indicator = "#${outputs.look.colors.split}";
childBorder = "#${outputs.look.colors.split}";
2024-08-24 22:16:51 -04:00
};
urgent = {
2024-09-23 16:22:01 -04:00
border = "#${outputs.look.colors.urgent}";
background = "#${outputs.look.colors.urgent}";
text = "#${outputs.look.colors.text}";
indicator = "#${outputs.look.colors.urgent}";
childBorder = "#${outputs.look.colors.urgent}";
2024-08-24 22:16:51 -04:00
};
};
fonts = {
2024-09-23 16:22:01 -04:00
names = ["${outputs.look.fonts.main}"];
2024-08-24 22:16:51 -04:00
size = 10.5;
};
gaps = {
inner = 5;
smartGaps = true;
};
};
};
}