feat: waybar

This commit is contained in:
Patrick 2024-07-12 22:42:47 +02:00
parent 16da804be8
commit 9d8c9a800b
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
2 changed files with 11 additions and 6 deletions

View file

@ -41,7 +41,6 @@
"memory"
"wireplumber"
"network"
"battery"
"clock"
"custom/notification"
"tray"
@ -63,8 +62,13 @@
or [];
battery = {
interval = 1;
format = "{icon} {capacity}%";
format-icons = ["" "" "" "" "" "" "" "" ""];
states = {
critical = 15;
warning = 20;
};
};
backlight = {
@ -95,7 +99,7 @@
dnd-inhibited-none = "";
};
return-type = "json";
exec = "${pkgs.swaynotificationcenter}/bin/swaync-client -swb";
on-click = "${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw";
on-click-right = "${pkgs.swaynotificationcenter}/bin/swaync-client -d -sw";
on-click-middle = "${pkgs.swaynotificationcenter}/bin/swaync-client --close-all";

View file

@ -84,10 +84,6 @@ button:hover {
color: #000000;
}
#battery {
background-color: #ffffff;
color: #000000;
}
#battery.charging,
#battery.plugged {
@ -111,6 +107,11 @@ button:hover {
animation-direction: alternate;
}
#battery.warning:not(.charging) {
background-color: #f1c40f;
color: #000000;
}
#power-profiles-daemon {
padding-right: 15px;
}