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:
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./main.nix
|
./main.nix
|
||||||
# ./styles.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
style = ./style.css;
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
|
66
home-manager/modules/waybar/style.css
Normal file
66
home-manager/modules/waybar/style.css
Normal 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;
|
||||||
|
}
|
Reference in New Issue
Block a user