feat(waybar): add backlight module
This commit is contained in:
parent
28c07e522a
commit
d47a670907
@ -20,6 +20,7 @@
|
||||
"modules-right": [
|
||||
"custom/pacman-update",
|
||||
"tray",
|
||||
"backlight",
|
||||
"network",
|
||||
"clock",
|
||||
"custom/lock"
|
||||
@ -98,6 +99,10 @@
|
||||
"interval": "once",
|
||||
"on-click": "swaylock"
|
||||
},
|
||||
"backlight": {
|
||||
"format": " {percent}%",
|
||||
"scroll-step": 5.0
|
||||
},
|
||||
"network": {
|
||||
"on-click-right": "~/.config/waybar/scripts/set-rfkill.bash",
|
||||
"interval": 1,
|
||||
|
@ -70,6 +70,7 @@ tooltip label,
|
||||
#custom-pacman-update,
|
||||
#taskbar,
|
||||
#tray,
|
||||
#backlight,
|
||||
#tray menu,
|
||||
#custom-lock {
|
||||
background-color: #16161d;
|
||||
@ -249,7 +250,7 @@ tooltip {
|
||||
);
|
||||
background-size: 400% 400%;
|
||||
/* PERF: Animations in gtk css cause incredible CPU loads, wtf?!
|
||||
* Disabling this shit for now, not worth the CPU cost. */
|
||||
* Disabling this shit for now, not worth the CPU cost. */
|
||||
/* animation: gradient_roll 30s ease-in-out infinite; */
|
||||
}
|
||||
|
||||
@ -272,6 +273,11 @@ tooltip {
|
||||
-gtk-icon-shadow: none;
|
||||
}
|
||||
|
||||
/* Backlight */
|
||||
#backlight {
|
||||
color: #DCA561;
|
||||
}
|
||||
|
||||
/* Network */
|
||||
#network {
|
||||
color: #a3d4d5;
|
||||
|
Loading…
Reference in New Issue
Block a user