Merge pull request #283262 from bddvlpr/hyprland-monitor-attached/init

hyprland-monitor-attached: init at 0.1.5
This commit is contained in:
Aleksana 2024-04-09 23:58:24 +08:00 committed by GitHub
commit ddf067c116
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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;
};
}