add colors

This commit is contained in:
Leonardo Eugênio 2022-06-13 12:07:08 -03:00
parent cff04ddfe7
commit 0a995622b6

View file

@ -18,7 +18,10 @@ let
}; };
}; };
accents = { accents = {
red = "#F44336"; red = {
color = "#F44336";
fg = "#ffffff";
};
}; };
themes = { themes = {
dark = { dark = {
@ -50,7 +53,7 @@ let
}; };
}; };
accent_color = accents.red; accent = accents.red;
color = themes.dark.color; color = themes.dark.color;
in { in {
# Home Manager needs a bit of information about you and the # Home Manager needs a bit of information about you and the
@ -178,7 +181,7 @@ in {
border-bottom: border-bottom:
{%@@ endif @@%}*/ {%@@ endif @@%}*/
border-top: border-top:
3px solid ${ accent_color }; 3px solid ${ accent.color };
/* border-bottom: 3px solid transparent; */ /* border-bottom: 3px solid transparent; */
} }
@ -189,7 +192,7 @@ in {
} }
#mode { #mode {
color: ${ accent_color }; color: ${ accent.color };
} }
#mpd, #mpd,
@ -259,7 +262,7 @@ in {
} }
#custom-sleep { #custom-sleep {
color: ${ accent_color }; color: ${ accent.color };
font-size: ${ font.size.big }px; font-size: ${ font.size.big }px;
font-weight: bold; font-weight: bold;
} }
@ -271,6 +274,29 @@ in {
enable = true; enable = true;
config = { config = {
bars = [{ command = "waybar"; }]; bars = [{ command = "waybar"; }];
window.titlebar = false;
gaps = {
smartGaps = true;
smartBorders = "on";
inner = 5;
};
colors =
let
acc = accent.color;
fg_acc = accent.fg;
fg_color = color.txt;
bg_color = color.bg_dark;
alert = "#000000";
client = border: background: text: indicator: childBorder: {
inherit border background text indicator childBorder;
};
in
{
focused = client acc acc fg_acc acc acc;
focusedInactive = client bg_color bg_color fg_color bg_color bg_color;
unfocused = client bg_color bg_color fg_color bg_color bg_color;
urgent = client alert alert fg_color alert alert;
};
input."type:touchpad" = { input."type:touchpad" = {
# Disable While Typing # Disable While Typing
dwt = "disabled"; dwt = "disabled";
@ -466,4 +492,9 @@ in {
}; };
}; };
}; };
services.kdeconnect = {
enable = true;
indicator = true;
};
} }