sway: moved to new theme modules

This commit is contained in:
Aly Raffauf 2024-05-04 20:44:06 -04:00
parent 19809ea557
commit 0fea8fad78

View file

@ -43,7 +43,6 @@
]; ];
programs.swaylock.enable = lib.mkDefault true; programs.swaylock.enable = lib.mkDefault true;
services.cliphist.enable = lib.mkDefault true; services.cliphist.enable = lib.mkDefault true;
programs.waybar = { programs.waybar = {
@ -118,13 +117,6 @@
screenshot_screen = "${screenshot} --capture output"; screenshot_screen = "${screenshot} --capture output";
screenshot_region = "${screenshot} --capture region"; screenshot_region = "${screenshot} --capture region";
# Color, themes, scaling
colorText = "#FAFAFA";
colorPrimary = "#CA9EE6EE";
colorSecondary = "#99D1DBEE";
colorInactive = "#626880AA";
drop_shadow = "#1A1A1AEE";
cursor_size = "24";
qt_platform_theme = "gtk2"; qt_platform_theme = "gtk2";
gdk_scale = "1.5"; gdk_scale = "1.5";
@ -143,27 +135,27 @@
in { in {
bars = [{command = "${bar}";}]; bars = [{command = "${bar}";}];
modifier = "${modifier}"; modifier = "${modifier}";
colors.background = "${colorPrimary}"; colors.background = "${config.alyraffauf.desktop.theme.colors.primary}";
colors.focused = { colors.focused = {
background = "${colorPrimary}"; background = "${config.alyraffauf.desktop.theme.colors.primary}";
border = "${colorPrimary}"; border = "${config.alyraffauf.desktop.theme.colors.primary}";
childBorder = "${colorPrimary}"; childBorder = "${config.alyraffauf.desktop.theme.colors.primary}";
indicator = "${colorPrimary}"; indicator = "${config.alyraffauf.desktop.theme.colors.primary}";
text = "${colorText}"; text = "${config.alyraffauf.desktop.theme.colors.text}";
}; };
colors.focusedInactive = { colors.focusedInactive = {
background = "${colorInactive}"; background = "${config.alyraffauf.desktop.theme.colors.inactive}";
border = "${colorInactive}"; border = "${config.alyraffauf.desktop.theme.colors.inactive}";
childBorder = "${colorInactive}"; childBorder = "${config.alyraffauf.desktop.theme.colors.inactive}";
indicator = "${colorInactive}"; indicator = "${config.alyraffauf.desktop.theme.colors.inactive}";
text = "${colorText}"; text = "${config.alyraffauf.desktop.theme.colors.text}";
}; };
colors.unfocused = { colors.unfocused = {
background = "${colorInactive}"; background = "${config.alyraffauf.desktop.theme.colors.inactive}";
border = "${colorInactive}"; border = "${config.alyraffauf.desktop.theme.colors.inactive}";
childBorder = "${colorInactive}"; childBorder = "${config.alyraffauf.desktop.theme.colors.inactive}";
indicator = "${colorInactive}"; indicator = "${config.alyraffauf.desktop.theme.colors.inactive}";
text = "${colorText}"; text = "${config.alyraffauf.desktop.theme.colors.text}";
}; };
defaultWorkspace = "workspace number 1"; defaultWorkspace = "workspace number 1";
focus = { focus = {