1
1
Fork 0

waybar: use custom gap option

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-10-06 10:44:01 -05:00
parent bc85c22f39
commit b1e8aded32
Signed by: myned
GPG key ID: C7224454F7881A34
2 changed files with 9 additions and 2 deletions

View file

@ -43,9 +43,17 @@ in {
# https://www.nerdfonts.com/cheat-sheet # https://www.nerdfonts.com/cheat-sheet
programs.waybar = { programs.waybar = {
enable = true; enable = true;
style = ./style.css; # ?? waybar --log-level debug
systemd.enable = true; # Start on login systemd.enable = true; # Start on login
# ?? waybar --log-level debug
style = ''
${readFile ./style.css}
.horizontal > box {
margin: 0 ${toString config.custom.gap}px ${toString config.custom.gap}px;
}
'';
### SETTINGS ### ### SETTINGS ###
# https://github.com/Alexays/Waybar/wiki/Configuration # https://github.com/Alexays/Waybar/wiki/Configuration
#?? pkill -SIGUSR2 -x waybar #?? pkill -SIGUSR2 -x waybar

View file

@ -33,7 +33,6 @@ tooltip {
.horizontal > box { .horizontal > box {
background: #002b36; background: #002b36;
border: 2px #073642 solid; border: 2px #073642 solid;
margin: 0 10px 10px;
padding: 4px; padding: 4px;
} }