dotfiles

My beautiful configs and dotfiles managed by Nix' home-manager
Log | Files | Refs | README | LICENSE

slstatus.nix (481B)


      1 { pkgs
      2 , fetchurl
      3 , mkSucklessPackage ? pkgs.callPackage ../common/suckless-pkg.nix { }
      4 }:
      5 
      6 mkSucklessPackage {
      7   name = "slstatus";
      8   src = fetchurl {
      9     url = https://dl.suckless.org/tools/slstatus-1.0.tar.gz;
     10     hash = "sha256-bW0KFsCN2dIRFywwxHIHASZ6P0DNyTjbPzhvaits/1Q=";
     11   };
     12 
     13   configHeader = ../configs/slstatus.h;
     14 
     15   buildInputs = with pkgs; [
     16     xorg.libX11
     17   ];
     18 
     19   patches = [
     20     ../patches/slstatus-battery-remaining.diff
     21     ../patches/slstatus-notify.diff
     22   ];
     23 }