waybar changes and an update to katexprs

This commit is contained in:
kat witch 2021-08-19 03:20:22 +01:00
parent 33891d96a1
commit 999ac545e3
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 4 additions and 19 deletions

View file

@ -19,7 +19,6 @@ in
"cpu"
"memory"
"temperature"
"backlight"
"battery"
"network"
"idle_inhibitor"
@ -31,7 +30,7 @@ in
modules = {
"sway/workspaces" = { format = "{name}"; };
"sway/window" = {
format = " {}";
format = " {}";
max-length = 50;
};
tray = {
@ -53,7 +52,7 @@ in
on-click = "${pkgs.waybar-konawall}/bin/konawall-toggle";
on-click-right = "systemctl --user restart konawall";
};
cpu = { format = " {usage}%"; };
cpu = { format = " {usage}%"; };
memory = { format = " {percentage}%"; };
temperature = {
format = " {temperatureC}°C";
@ -66,12 +65,6 @@ in
deactivated = "";
};
};
backlight = {
format = "{icon} {percent}%";
format-icons = [ "" "" ];
on-scroll-up = "${pkgs.light}/bin/light -A 1";
on-scroll-down = "${pkgs.light}/bin/light -U 1";
};
battery = {
states = {
good = 90;