Remove notify-battery script with i3-battery-popup

https://github.com/rjekker/i3-battery-popup
This commit is contained in:
Oliver Davies 2025-01-09 22:00:00 +00:00
parent 5160384b10
commit f982861233
7 changed files with 23 additions and 68 deletions

View file

@ -0,0 +1,21 @@
{ pkgs, ... }:
pkgs.stdenv.mkDerivation rec {
pname = "i3-battery-popop";
version = "1.1.1";
src = pkgs.fetchFromGitHub {
owner = "rjekker";
repo = "i3-battery-popup";
rev = "v${version}";
sha256 = "s6jZCkB0Z8dtnBG2p1NJIUY1fV4urEp4w6wFzxFNlqg=";
};
buildInputs = with pkgs; [ bash ];
installPhase = ''
mkdir -p $out/bin
cp $src/i3-battery-popup $out/bin/i3-battery-popup
chmod +x $out/bin/i3-battery-popup
'';
}