various updates

This commit is contained in:
Vivian 2024-04-24 12:05:59 +02:00
parent 46151ed25b
commit f70a18723f
17 changed files with 415 additions and 116 deletions

View file

@ -1,5 +1,5 @@
# nix-build -E 'with import <nixpkgs> {}; callPackage ./default.nix {}'
_final: prev: {
final: prev: {
v = {
glitch-soc = prev.callPackage ./glitch-soc { };
@ -22,6 +22,7 @@ _final: prev: {
prev.callPackage ./vscode-extensions/platformio.nix { };
};
hyprland-workspaces = prev.callPackage ./hyprland-workspaces { };
};
plex-plexpass = prev.callPackage ./plex-pass { };

View file

@ -0,0 +1,20 @@
{ rustPlatform, lib, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "hyprland-workspaces";
version = "2.0.0";
src = fetchFromGitHub {
owner = "FieldofClay";
repo = pname;
rev = "v${version}";
sha256 = "sha256-4QGLTimIpx74gWUyHCheUZZT1WgVzBoJRY8OlUDdOh4=";
};
cargoSha256 = "sha256-9ndP0nyRBCdOGth4UWA263IvjbgnVW2x9PK8oTaMrxg=";
meta = with lib; {
description = "A multi-monitor aware Hyprland workspace widget";
license = licenses.mit;
platforms = platforms.linux;
};
}