1
0
mirror of https://github.com/Andrey0189/nixos-config-reborn.git synced 2025-09-15 10:06:00 +03:00

add waybar styles

This commit is contained in:
andrey_varnavskiy
2024-11-26 06:19:01 +05:00
parent 927d48de14
commit a5a5074859
3 changed files with 67 additions and 1 deletions

View File

@@ -1,6 +1,5 @@
{
imports = [
./main.nix
# ./styles.nix
];
}

View File

@@ -1,6 +1,7 @@
{
programs.waybar = {
enable = true;
style = ./style.css;
settings = {
mainBar = {
layer = "top";

View File

@@ -0,0 +1,66 @@
* {
border: none;
border-radius: 0px;
font-family: "JetBrains Mono";
font-weight: bold;
font-size: 16px;
min-height: 0;
color: #ebdbb2;
}
window#waybar {
background: #1d2021;
}
/* Workspace Buttons */
#workspaces button label{
color: #ebdbb2;
padding: 0 10px;
}
#workspaces button.active label {
color: #1d2021;
}
#workspaces button.active {
background: #d65d0e;
}
#clock, #battery, #pulseaudio, #tray, #language, #weather {
padding: 0 10px;
margin: 0 10px;
}
#language {
margin: 0;
color: #d79921;
border-bottom: 5px solid #d79921;
}
#custom-weather {
margin: 0;
color: #98971a;
border-bottom: 5px solid #98971a
}
#pulseaudio {
margin: 0;
color: #689d6a;
border-bottom: 5px solid #689d6a;
}
#pulseaudio.muted {
padding: 0 20px;
color: #cc241d;
border-bottom: 4px solid #cc241d;
}
#battery {
margin: 0;
color: #458588;
border-bottom: 5px solid #458588;
}
#clock {
margin: 0;
color: #b16286;
border-bottom: 5px solid #b16286;
}