My slstatus configuration with flake.nix.
slstatus is a small tool for providing system status information to other programs over the EWMH property of the root window (used by dwm(1)) or standard input/output. It is designed to be as efficient as possible by only issuing the minimum of system calls required.
- Fira Code NerdFont
- Font Awesome
- wpctl (wireplumber)
- playerctl
- Xlib header files
Install all requirements and then compile and install:
make clean install
nix run github:jonwin1/slstatus-jonwin
Add this repo as an input in your flake.nix:
inputs = {
slstatus = {
url = "github:jonwin1/slstatus-jonwin";
inputs.nixpkgs.follows = "nixpkgs";
};
};
Then add this to your configuration.nix to install slstatus:
environment = {
systemPackages = with pkgs; [
inputs.slstatus.packages."x86_64-linux".default
];
};
- Datetime
- Media metadata (status artist - title)
- CPU usage/temperature
- RAM usage
- Free disk space
- WiFi strength icon & ESSID
- Volume
- Battery state icon (if battery exists)