/slstatus-jonwin

My slstatus configuration with flake.nix.

Primary LanguageCISC LicenseISC

slstatus-jonwin

My slstatus configuration with flake.nix.

slstatus

slstatus - suckless status

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.

Requirements

  • Fira Code NerdFont
  • Font Awesome
  • wpctl (wireplumber)
  • playerctl
  • Xlib header files

Installation

Most distros

Install all requirements and then compile and install:

make clean install

NixOS

Test

nix run github:jonwin1/slstatus-jonwin

Install

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
    ];
};

Current Fields

  • 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)