configured a spotify widget for waybar

This commit is contained in:
Rouven Seifert 2023-06-03 21:42:12 +02:00
parent b58ae611b6
commit 8f78e1f843
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
9 changed files with 95 additions and 19 deletions

26
pkgs/pww/default.nix Normal file
View file

@ -0,0 +1,26 @@
{ stdenv, lib, buildGoModule, path, pkgs, go, fetchFromGitHub, playerctl }:
buildGoModule rec {
pname = "pww";
version = "unstable-2023-04-06";
src = fetchFromGitHub {
owner = "abenz1267";
repo = "pww";
rev = "8c973e600052d1c94a0921ed10d0723c123187c6"; # unstable because 6.0.0 has some crashes
hash = "sha256-IqLo1MlPGaM0n0TEhptiM5FvqJ8bsEPn7N2EEL6iWK8=";
};
buildInputs = [ playerctl ];
outputs = [ "out" ];
vendorSha256 = "sha256-3PnXB8AfZtgmYEPJuh0fwvG38dtngoS/lxyx3H+rvFs=";
meta = with lib; {
description = "Utility wrapper around playerctl";
homepage = "https://github.com/Mic92/sops-nix";
license = licenses.mit;
maintainers = with maintainers; [ therealr5 ];
platforms = platforms.all;
};
}