swayosd: init at unstable-2023-05-09
This commit is contained in:
parent
2909d9b117
commit
cd73611956
2 changed files with 39 additions and 0 deletions
38
pkgs/applications/window-managers/sway/osd.nix
Normal file
38
pkgs/applications/window-managers/sway/osd.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, gtk3
|
||||
, gtk-layer-shell
|
||||
, libpulseaudio
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "swayosd";
|
||||
version = "unstable-2023-05-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ErikReider";
|
||||
repo = "SwayOSD";
|
||||
rev = "5c2176ae6a01a18fdc2b0f5d5f593737b5765914";
|
||||
hash = "sha256-rh42J6LWgNPOWYLaIwocU1JtQnA5P1jocN3ywVOfYoc=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-ZcgrUcRQTcEYhw2mpJDuYDz3I/u/2Q+O60ajXYRMeow=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
gtk-layer-shell
|
||||
libpulseaudio
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A GTK based on screen display for keyboard shortcuts";
|
||||
homepage = "https://github.com/ErikReider/SwayOSD";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ aleksana ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -31098,6 +31098,7 @@ with pkgs;
|
|||
swaybg = callPackage ../applications/window-managers/sway/bg.nix { };
|
||||
swayidle = callPackage ../applications/window-managers/sway/idle.nix { };
|
||||
swaylock = callPackage ../applications/window-managers/sway/lock.nix { };
|
||||
swayosd = callPackage ../applications/window-managers/sway/osd.nix { };
|
||||
swayws = callPackage ../applications/window-managers/sway/ws.nix { };
|
||||
swaywsr = callPackage ../applications/window-managers/sway/wsr.nix { };
|
||||
sway-contrib = recurseIntoAttrs (callPackages ../applications/window-managers/sway/contrib.nix { });
|
||||
|
|
Loading…
Reference in a new issue