feat: waybar
This commit is contained in:
parent
16da804be8
commit
9d8c9a800b
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue