all: add power-profiles-daemon Waybar module
This commit is contained in:
parent
04a7d02192
commit
c99490a19e
8 changed files with 93 additions and 21 deletions
|
@ -13,6 +13,7 @@
|
||||||
"custom/clipboard",
|
"custom/clipboard",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
|
"power-profiles-daemon",
|
||||||
"battery",
|
"battery",
|
||||||
"network",
|
"network",
|
||||||
"bluetooth",
|
"bluetooth",
|
||||||
|
@ -128,6 +129,18 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"power-profiles-daemon": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||||
|
"tooltip": true,
|
||||||
|
"format-icons": {
|
||||||
|
"default": "",
|
||||||
|
"performance": "",
|
||||||
|
"balanced": "",
|
||||||
|
"power-saver": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
|
|
@ -81,6 +81,7 @@ window#waybar.hidden {
|
||||||
#cpu,
|
#cpu,
|
||||||
#language,
|
#language,
|
||||||
#memory,
|
#memory,
|
||||||
|
#power-profiles-daemon,
|
||||||
#network,
|
#network,
|
||||||
#bluetooth,
|
#bluetooth,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
|
@ -144,11 +145,15 @@ window#waybar.hidden {
|
||||||
color: @teal;
|
color: @teal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#power-profiles-daemon {
|
||||||
|
color: @sky
|
||||||
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
color: @sky;
|
color: @sapphire;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning {
|
#battery.warning {
|
||||||
|
@ -174,7 +179,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#network {
|
#network {
|
||||||
color: @sapphire;
|
color: @blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.disconnected {
|
#network.disconnected {
|
||||||
|
@ -182,7 +187,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth {
|
#bluetooth {
|
||||||
color: @blue;
|
color: @lavender;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth.disabled {
|
#bluetooth.disabled {
|
||||||
|
@ -190,7 +195,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
color: @lavender;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.muted {
|
#pulseaudio.muted {
|
||||||
|
@ -198,9 +203,9 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
color: @text;
|
color: @subtext1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-power {
|
#custom-power {
|
||||||
color: @subtext1;
|
color: @subtext2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
"custom/clipboard",
|
"custom/clipboard",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
|
"power-profiles-daemon",
|
||||||
"battery",
|
"battery",
|
||||||
"network",
|
"network",
|
||||||
"bluetooth",
|
"bluetooth",
|
||||||
|
@ -122,6 +123,18 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"power-profiles-daemon": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||||
|
"tooltip": true,
|
||||||
|
"format-icons": {
|
||||||
|
"default": "",
|
||||||
|
"performance": "",
|
||||||
|
"balanced": "",
|
||||||
|
"power-saver": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
|
|
@ -67,6 +67,7 @@ window#waybar.empty #window {
|
||||||
#battery,
|
#battery,
|
||||||
#cpu,
|
#cpu,
|
||||||
#memory,
|
#memory,
|
||||||
|
#power-profiles-daemon,
|
||||||
#network,
|
#network,
|
||||||
#bluetooth,
|
#bluetooth,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
|
@ -131,11 +132,15 @@ window#waybar.empty #window {
|
||||||
color: @green;
|
color: @green;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#power-profiles-daemon {
|
||||||
|
color: @teal
|
||||||
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
color: @teal;
|
color: @sky;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning {
|
#battery.warning {
|
||||||
|
@ -161,7 +166,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#network {
|
#network {
|
||||||
color: @sky;
|
color: @sapphire;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.disconnected {
|
#network.disconnected {
|
||||||
|
@ -169,7 +174,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth {
|
#bluetooth {
|
||||||
color: @sapphire;
|
color: @blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth.disabled {
|
#bluetooth.disabled {
|
||||||
|
@ -177,7 +182,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
color: @blue;
|
color: @lavender;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.muted {
|
#pulseaudio.muted {
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
"custom/clipboard",
|
"custom/clipboard",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
|
"power-profiles-daemon",
|
||||||
"battery",
|
"battery",
|
||||||
"network",
|
"network",
|
||||||
"bluetooth",
|
"bluetooth",
|
||||||
|
@ -125,6 +126,18 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"power-profiles-daemon": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||||
|
"tooltip": true,
|
||||||
|
"format-icons": {
|
||||||
|
"default": "",
|
||||||
|
"performance": "",
|
||||||
|
"balanced": "",
|
||||||
|
"power-saver": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
|
|
@ -86,6 +86,7 @@ window#waybar.hidden {
|
||||||
#battery,
|
#battery,
|
||||||
#cpu,
|
#cpu,
|
||||||
#memory,
|
#memory,
|
||||||
|
#power-profiles-daemon,
|
||||||
#network,
|
#network,
|
||||||
#bluetooth,
|
#bluetooth,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
|
@ -149,11 +150,15 @@ window#waybar.hidden {
|
||||||
color: @teal;
|
color: @teal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#power-profiles-daemon {
|
||||||
|
color: @sky
|
||||||
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
color: @sky;
|
color: @sapphire;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning {
|
#battery.warning {
|
||||||
|
@ -179,7 +184,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#network {
|
#network {
|
||||||
color: @sapphire;
|
color: @blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.disconnected {
|
#network.disconnected {
|
||||||
|
@ -187,7 +192,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth {
|
#bluetooth {
|
||||||
color: @blue;
|
color: @lavender;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth.disabled {
|
#bluetooth.disabled {
|
||||||
|
@ -195,7 +200,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
color: @lavender;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.muted {
|
#pulseaudio.muted {
|
||||||
|
@ -203,5 +208,5 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-power {
|
#custom-power {
|
||||||
color: @text;
|
color: @subtext1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
"custom/clipboard",
|
"custom/clipboard",
|
||||||
"cpu",
|
"cpu",
|
||||||
"memory",
|
"memory",
|
||||||
|
"power-profiles-daemon",
|
||||||
"battery",
|
"battery",
|
||||||
"network",
|
"network",
|
||||||
"bluetooth",
|
"bluetooth",
|
||||||
|
@ -152,6 +153,18 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"power-profiles-daemon": {
|
||||||
|
"format": "{icon}",
|
||||||
|
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
|
||||||
|
"tooltip": true,
|
||||||
|
"format-icons": {
|
||||||
|
"default": "",
|
||||||
|
"performance": "",
|
||||||
|
"balanced": "",
|
||||||
|
"power-saver": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"battery": {
|
"battery": {
|
||||||
"format": "{icon} {capacity}%",
|
"format": "{icon} {capacity}%",
|
||||||
"format-icons": ["", "", "", "", ""]
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
|
|
@ -81,6 +81,7 @@ window#waybar.hidden {
|
||||||
#cpu,
|
#cpu,
|
||||||
#language,
|
#language,
|
||||||
#memory,
|
#memory,
|
||||||
|
#power-profiles-daemon,
|
||||||
#network,
|
#network,
|
||||||
#bluetooth,
|
#bluetooth,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
|
@ -144,11 +145,15 @@ window#waybar.hidden {
|
||||||
color: @teal;
|
color: @teal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#power-profiles-daemon {
|
||||||
|
color: @sky
|
||||||
|
}
|
||||||
|
|
||||||
#battery {
|
#battery {
|
||||||
animation-timing-function: linear;
|
animation-timing-function: linear;
|
||||||
animation-iteration-count: infinite;
|
animation-iteration-count: infinite;
|
||||||
animation-direction: alternate;
|
animation-direction: alternate;
|
||||||
color: @sky;
|
color: @sapphire;
|
||||||
}
|
}
|
||||||
|
|
||||||
#battery.warning {
|
#battery.warning {
|
||||||
|
@ -174,7 +179,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#network {
|
#network {
|
||||||
color: @sapphire;
|
color: @blue;
|
||||||
}
|
}
|
||||||
|
|
||||||
#network.disconnected {
|
#network.disconnected {
|
||||||
|
@ -182,7 +187,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth {
|
#bluetooth {
|
||||||
color: @blue;
|
color: @lavender;
|
||||||
}
|
}
|
||||||
|
|
||||||
#bluetooth.disabled {
|
#bluetooth.disabled {
|
||||||
|
@ -190,7 +195,7 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
color: @lavender;
|
color: @text;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pulseaudio.muted {
|
#pulseaudio.muted {
|
||||||
|
@ -198,9 +203,9 @@ label:focus {
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock {
|
#clock {
|
||||||
color: @text;
|
color: @subtext1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-power {
|
#custom-power {
|
||||||
color: @subtext1;
|
color: @subtext2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue