The big variable overhaul

This commit is contained in:
Jimbo 2024-09-23 16:22:01 -04:00
parent 3f0a235dc8
commit 6dab8fc029
36 changed files with 269 additions and 326 deletions

View file

@ -1,47 +1,44 @@
{config, pkgs, ...}: {
{config, pkgs, outputs, ...}: {
# Enable Sway and write some scripts
wayland.windowManager.sway = {
enable = true;
#package = pkgs.unstable.sway;
wrapperFeatures.gtk = true;
checkConfig = false;
config = let
colors = import ../common/colors.nix;
fonts = import ../common/fonts.nix;
in {
config = {
# Theming settings
colors = {
focused = {
border = "#${colors.prime}";
background = "#${colors.prime}";
border = "#${outputs.look.colors.prime}";
background = "#${outputs.look.colors.prime}";
text = "#FFFFFF";
indicator = "#${colors.actSplit}";
childBorder = "#${colors.prime}";
indicator = "#${outputs.look.colors.actSplit}";
childBorder = "#${outputs.look.colors.prime}";
};
focusedInactive = {
border = "#${colors.accent}";
background = "#${colors.accent}";
text = "#${colors.text}";
indicator = "#${colors.split}";
childBorder = "#${colors.accent}";
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}";
};
unfocused = {
border = "#${colors.dark}";
background = "#${colors.dark}";
text = "#${colors.text}";
indicator = "#${colors.split}";
childBorder = "#${colors.split}";
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}";
};
urgent = {
border = "#${colors.urgent}";
background = "#${colors.urgent}";
text = "#${colors.text}";
indicator = "#${colors.urgent}";
childBorder = "#${colors.urgent}";
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}";
};
};
fonts = {
names = ["${fonts.main}"];
names = ["${outputs.look.fonts.main}"];
size = 10.5;
};
gaps = {