waybar: use custom gap option
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
bc85c22f39
commit
b1e8aded32
2 changed files with 9 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue