Waybar: power profiles and better style
This commit is contained in:
parent
b3c200d55f
commit
72f86cb2eb
1 changed files with 17 additions and 27 deletions
|
|
@ -44,9 +44,10 @@ in
|
|||
"cpu"
|
||||
"memory"
|
||||
"temperature"
|
||||
"keyboard-state"
|
||||
"backlight"
|
||||
"idle_inhibitor"
|
||||
"power-profiles-daemon"
|
||||
"keyboard-state"
|
||||
"battery"
|
||||
# "battery#bat2"
|
||||
"clock"
|
||||
|
|
@ -74,14 +75,14 @@ in
|
|||
"keyboard-state" = {
|
||||
# "numlock" = true;
|
||||
"capslock" = true;
|
||||
"format" = "{name} {icon}";
|
||||
"format" = "{icon}";
|
||||
"format-icons" = {
|
||||
"locked" = "";
|
||||
"unlocked" = "";
|
||||
};
|
||||
};
|
||||
"idle_inhibitor" = {
|
||||
"format" = "{status} {icon}";
|
||||
"format" = "{icon}";
|
||||
"format-icons" = {
|
||||
"activated" = "";
|
||||
"deactivated" = "";
|
||||
|
|
@ -119,17 +120,16 @@ in
|
|||
"backlight" = {
|
||||
# "device"= "acpi_video1";
|
||||
"format" = "{percent}% {icon}";
|
||||
"format-icons" = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
"format-icons" = [ "" "" "" "" "" "" "" "" "" ];
|
||||
};
|
||||
"power-profiles-daemon" = {
|
||||
"format" = "{icon}";
|
||||
"format-icons" = {
|
||||
"default" = "";
|
||||
"performance" = "";
|
||||
"balanced" = "";
|
||||
"power-saver" = "";
|
||||
};
|
||||
};
|
||||
"battery" = {
|
||||
"states" = {
|
||||
|
|
@ -143,13 +143,7 @@ in
|
|||
"format-alt" = "{time} {icon}";
|
||||
# "format-good"= ""; # An empty format will hide the module
|
||||
# "format-full"= "";
|
||||
"format-icons" = [
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
"format-icons" = [ "" "" "" "" "" ];
|
||||
};
|
||||
# "battery#bat2" = { "bat" = "BAT2"; };
|
||||
"network" = {
|
||||
|
|
@ -176,11 +170,7 @@ in
|
|||
"phone" = "";
|
||||
"portable" = "";
|
||||
"car" = "";
|
||||
"default" = [
|
||||
""
|
||||
""
|
||||
""
|
||||
];
|
||||
"default" = [ "" "" "" ];
|
||||
};
|
||||
"on-click" = "${pkgs.pavucontrol}/bin/pavucontrol";
|
||||
|
||||
|
|
@ -239,7 +229,7 @@ in
|
|||
font-size: 10px;
|
||||
margin: 0px 5px;
|
||||
}
|
||||
#tray, #pulseaudio label, #network, #language, #custom-notification, #cpu, #memory, #temperature, #keyboard-state label, #backlight, #battery, #battery#bat2, #clock, #idle_inhibitor {
|
||||
#tray, #pulseaudio label, #network, #language, #custom-notification, #cpu, #memory, #temperature, #keyboard-state, #backlight, #battery, #battery#bat2, #clock, #idle_inhibitor, #power-profiles-daemon {
|
||||
color: ${custom.foreground};
|
||||
border-radius: 0.5em;
|
||||
padding: 0.5em;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue