Remove notify-battery script with i3-battery-popup
https://github.com/rjekker/i3-battery-popup
This commit is contained in:
parent
5160384b10
commit
f982861233
7 changed files with 23 additions and 68 deletions
21
nix/pkgs/i3-battery-popup.nix
Normal file
21
nix/pkgs/i3-battery-popup.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue