Backlight

This commit is contained in:
2022-04-15 15:59:55 +01:00
parent 1964e7d35d
commit f633657b11
2 changed files with 56 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
{ config, pkgs, ... }:
{
programs.i3status-rust = {
enable = true;
bars = {
main = {
theme = "dracula";
icons = "awesome";
blocks = [
{
block = "time";
}
{
block = "battery";
allow_missing = true;
hide_missing = true;
}
{
block = "backlight";
device = "intel_backlight";
step_width = 10;
invert_icons = true;
}
{
block = "networkmanager";
on_click = "alacritty -e nmtui";
primary_only = true;
ap_format = "{ssid}";
device_format = "{icon}{ap}";
}
{
block = "keyboard_layout";
}
{
block = "notify";
}
{
block = "music";
player = "spotify";
buttons = [ "prev" "play" "next" ];
}
{
block = "sound";
}
];
};
};
};
}