Backlight
This commit is contained in:
50
users/daniel/progs/i3status-rust/default.nix
Normal file
50
users/daniel/progs/i3status-rust/default.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user