experiment with themes and colors

This commit is contained in:
Noah Masur
2022-05-03 20:32:47 -04:00
parent ec0b1c4e04
commit 67f8a8b08d
10 changed files with 186 additions and 63 deletions

View File

@ -201,7 +201,8 @@
};
startup = [
{
command = "feh --bg-scale $HOME/Downloads/carbon-fiber.jpg";
command =
"feh --bg-fill ${builtins.toString config.theme.wallpaper}";
always = true;
notification = false;
}
@ -220,18 +221,18 @@
};
workspaceAutoBackAndForth = false;
workspaceOutputAssign = [ ];
gaps = {
bottom = 0;
top = 0;
left = 0;
right = 0;
horizontal = 0;
vertical = 0;
inner = 0;
outer = 0;
smartBorders = "off";
smartGaps = false;
};
# gaps = {
# bottom = 8;
# top = 8;
# left = 8;
# right = 8;
# horizontal = 15;
# vertical = 15;
# inner = 15;
# outer = 0;
# smartBorders = "off";
# smartGaps = false;
# };
};
extraConfig = "";
};

View File

@ -4,26 +4,35 @@
home-manager.users.${identity.user} = {
services.picom = {
enable = true;
blur = false;
enable = false;
blur = true;
blurExclude = [ ];
# extraOptions = ''
# shadow-radius = 60
# corner-radius = 20
# shadow-radius = 20
# '';
extraOptions = ''
shadow-radius = 20
corner-radius = 10
blur-size = 20
rounded-corners-exclude = [
"window_type = 'dock'",
"class_g = 'i3-frame'"
]
'';
fade = false;
experimentalBackends = true;
inactiveDim = "0.05";
inactiveOpacity = "1.0";
menuOpacity = "1.0";
noDNDShadow = false;
noDockShadow = false;
opacityRule = [
"0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'" # Hide tabbed windows
];
shadow = false;
shadow = true;
shadowExclude = [ ];
shadowOffsets = [ (-30) (-30) ];
shadowOpacity = "0.25";
shadowOffsets = [ (-10) (-10) ];
shadowOpacity = "0.5";
vSync = false;
};

View File

@ -34,14 +34,14 @@
radius = 0;
# offset-y = "5%";
# dpi = 96;
background = "#00000000";
foreground = colors.foreground;
background = config.theme.colors.primary.background;
foreground = config.theme.colors.primary.foreground;
line-size = "3pt";
border-top-size = 0;
border-right-size = 0;
border-left-size = 0;
border-bottom-size = "4pt";
border-color = "#1d2021";
border-color = config.theme.colors.cursor.text;
padding-left = 2;
padding-right = 2;
module-margin = 1;
@ -67,16 +67,17 @@
"module/xworkspaces" = {
type = "internal/xworkspaces";
label-active = "%name%";
label-active-background = colors.background-alt;
label-active-underline = colors.primary;
label-active-background = config.theme.colors.primary.foreground;
label-active-foreground = config.theme.colors.primary.background;
# label-active-underline = config.theme.colors.normal.yellow;
label-active-padding = 1;
label-occupied = "%name%";
label-occupied-padding = 1;
label-urgent = "%name%";
label-urgent-background = colors.alert;
label-urgent-background = config.theme.colors.bright.red;
label-urgent-padding = 1;
label-empty = "%name%";
label-empty-foreground = colors.disabled;
label-empty-foreground = config.theme.colors.normal.white;
label-empty-padding = 1;
};
"module/xwindow" = {
@ -98,9 +99,10 @@
format-volume = "<ramp-volume> <label-volume>";
# format-volume-background = colors.background;
# label-volume-background = colors.background;
format-volume-foreground = config.theme.colors.primary.foreground;
label-volume = "%percentage%%";
label-muted = " ---";
label-muted-foreground = colors.disabled;
label-muted-foreground = config.theme.colors.normal.white;
ramp-volume-0 = "";
ramp-volume-1 = "";
ramp-volume-2 = "";
@ -149,10 +151,10 @@
"module/date" = {
type = "internal/date";
interval = 1;
date = "%H:%M";
date = "%H:%M %p";
date-alt = "%Y-%m-%d %H:%M:%S";
label = " %date%";
label-foreground = colors.primary;
label = "%date%";
# label-foreground = config.theme.colors.normal.yellow;
# format-background = colors.background;
};
"settings" = {