fixed syntax error in waybar.nix

This commit is contained in:
specCon18 2023-07-31 17:40:07 -04:00
parent 3b571bf050
commit 86427492ea

View file

@ -36,7 +36,7 @@
"" ""
"" ""
]; ];
} };
}; };
"network" = { "network" = {
"tooltip" = false; "tooltip" = false;
@ -55,7 +55,7 @@
"good" = 95; "good" = 95;
"warning" = 30; "warning" = 30;
"critical" = 20; "critical" = 20;
} };
"format" = "{icon} {capacity}%"; "format" = "{icon} {capacity}%";
"format-charging" = " {capacity}%"; "format-charging" = " {capacity}%";
"format-plugged" = " {capacity}%"; "format-plugged" = " {capacity}%";
@ -67,24 +67,24 @@
"" ""
"" ""
]; ];
} };
"tray" = { "tray" = {
"icon-size" = 18; "icon-size" = 18;
"spacing" = 10; "spacing" = 10;
} };
"clock" = { "clock" = {
"format" = "{: %I:%M %p %d/%m/%Y}"; "format" = "{: %I:%M %p %d/%m/%Y}";
} };
"cpu" = { "cpu" = {
"interval" = 15; "interval" = 15;
"format" = " {}%"; "format" = " {}%";
"max-length" = 10; "max-length" = 10;
} };
"memory" = { "memory" = {
"interval" = 30; "interval" = 30;
"format" = " {}%"; "format" = " {}%";
"max-length" = 10; "max-length" = 10;
} };
"custom/media" = { "custom/media" = {
"interval" = 30; "interval" = 30;
"format" = "{icon} {}"; "format" = "{icon} {}";
@ -93,7 +93,7 @@
"format-icons" = { "format-icons" = {
"spotify" = " "; "spotify" = " ";
"default" = " "; "default" = " ";
} };
"escape" = true; "escape" = true;
"exec" = "$HOME/.config/system_scripts/mediaplayer.py 2> /dev/null"; "exec" = "$HOME/.config/system_scripts/mediaplayer.py 2> /dev/null";
"on-click" = "playerctl play-pause"; "on-click" = "playerctl play-pause";