Merge pull request #283262 from bddvlpr/hyprland-monitor-attached/init
hyprland-monitor-attached: init at 0.1.5
This commit is contained in:
commit
ddf067c116
1 changed files with 24 additions and 0 deletions
24
pkgs/by-name/hy/hyprland-monitor-attached/package.nix
Normal file
24
pkgs/by-name/hy/hyprland-monitor-attached/package.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ rustPlatform, fetchFromGitHub, lib }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "hyprland-monitor-attached";
|
||||
version = "0.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coffebar";
|
||||
repo = "hyprland-monitor-attached";
|
||||
rev = version;
|
||||
hash = "sha256-McenpaoEjQIB709VlLkyVGoUwVoMe7TJPb8Lrh1efw8=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-QH32NYZJcSxTMgHZKqksy2+DLw62G+knJgoj6OGRfQE=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Automatically run a script when a monitor connects (or disconnects) in Hyprland";
|
||||
homepage = "https://github.com/coffebar/hyprland-monitor-attached";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bddvlpr ];
|
||||
mainProgram = "hyprland-monitor-attached";
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue