mirror of
https://git.sr.ht/~roxwize/.dotfiles
synced 2025-01-31 07:03:36 +00:00
colors for later
This commit is contained in:
parent
f90f92b259
commit
29c1bea510
1 changed files with 13 additions and 6 deletions
|
@ -54,14 +54,21 @@ in
|
||||||
polybar = {
|
polybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
script = "polybar &";
|
script = "polybar &";
|
||||||
settings = {
|
settings =
|
||||||
|
let
|
||||||
|
background = "#00000000";
|
||||||
|
foreground = "#fff";
|
||||||
|
color0 = "#ff3b1c32";
|
||||||
|
color1 = "#ff6a1e55";
|
||||||
|
color2 = "#ffa64d79";
|
||||||
|
in {
|
||||||
"global/wm" = {
|
"global/wm" = {
|
||||||
margin-top = 2;
|
margin-top = 2;
|
||||||
margin-bottom = 2;
|
margin-bottom = 2;
|
||||||
};
|
};
|
||||||
"bar/top" = {
|
"bar/top" = {
|
||||||
background = "#00000000";
|
background = background;
|
||||||
foreground = "#fff";
|
foreground = foreground;
|
||||||
width = "100%";
|
width = "100%";
|
||||||
height = 32;
|
height = 32;
|
||||||
font-0 = "GohuFont:style=Regular:size=14;3";
|
font-0 = "GohuFont:style=Regular:size=14;3";
|
||||||
|
@ -76,14 +83,14 @@ in
|
||||||
"module/cpu" = {
|
"module/cpu" = {
|
||||||
type = "internal/cpu";
|
type = "internal/cpu";
|
||||||
label = "CPU: %percentage%%";
|
label = "CPU: %percentage%%";
|
||||||
label-background = "#ff3b1c32";
|
label-background = color0;
|
||||||
label-padding = 2;
|
label-padding = 2;
|
||||||
interval = 2;
|
interval = 2;
|
||||||
};
|
};
|
||||||
"module/memory" = {
|
"module/memory" = {
|
||||||
type = "internal/memory";
|
type = "internal/memory";
|
||||||
label = "RAM: %percentage_used%%";
|
label = "RAM: %percentage_used%%";
|
||||||
label-background = "#ff6a1e55";
|
label-background = color1;
|
||||||
label-padding = 2;
|
label-padding = 2;
|
||||||
interval = 2;
|
interval = 2;
|
||||||
};
|
};
|
||||||
|
@ -95,7 +102,7 @@ in
|
||||||
type = "internal/date";
|
type = "internal/date";
|
||||||
date = "%b %d %y";
|
date = "%b %d %y";
|
||||||
time = "%I:%M %p";
|
time = "%I:%M %p";
|
||||||
label-background = "#ffa64d79";
|
label-background = color2;
|
||||||
label-padding = 2;
|
label-padding = 2;
|
||||||
interval = 5;
|
interval = 5;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue