backlight
This commit is contained in:
parent
c51078e515
commit
b775657b1e
3 changed files with 13 additions and 0 deletions
|
@ -49,6 +49,9 @@ in {
|
|||
bindel = [ # "bind held & locked"
|
||||
", XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 10%+"
|
||||
", XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%-"
|
||||
|
||||
", XF86MonBrightnessUp, exec, ${lib.getExe pkgs.brightnessctl} -c backlight s +5%"
|
||||
", XF86MonBrightnessDown, exec, ${lib.getExe pkgs.brightnessctl} -c backlight s 5%-"
|
||||
];
|
||||
bindl = [ # "bind locked"
|
||||
", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
|
|
|
@ -49,6 +49,7 @@ in {
|
|||
orientation = "inherit";
|
||||
modules = [
|
||||
"pulseaudio"
|
||||
"backlight"
|
||||
#"network"
|
||||
"cpu"
|
||||
"memory"
|
||||
|
@ -169,6 +170,11 @@ in {
|
|||
on-click = "${lib.getExe pkgs.pavucontrol}";
|
||||
ignored-sinks = ["Easy Effects Sink"];
|
||||
};
|
||||
backlight = {
|
||||
format = "{icon} {percent}%";
|
||||
format-icons = ["" ""];
|
||||
scroll-step = 1;
|
||||
};
|
||||
cpu = {
|
||||
interval = 4;
|
||||
format = " {usage}% {avg_frequency}GHz";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue