diff options
author | Aleksana <me@aleksana.moe> | 2024-04-09 23:58:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-09 23:58:24 +0800 |
commit | ddf067c116cb2ccb8b04ec9d042297d036c84b41 (patch) | |
tree | c735e45fa1e2525e5db8330491b0080e4b480e24 /pkgs/by-name/hy | |
parent | 6be25e8ea8068f75dd82e1aaf074108c5b1ab6c9 (diff) | |
parent | 49922ef2999d721fb4ad6718e046a1e583b18c95 (diff) |
Merge pull request #283262 from bddvlpr/hyprland-monitor-attached/init
hyprland-monitor-attached: init at 0.1.5
Diffstat (limited to 'pkgs/by-name/hy')
-rw-r--r-- | pkgs/by-name/hy/hyprland-monitor-attached/package.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/by-name/hy/hyprland-monitor-attached/package.nix b/pkgs/by-name/hy/hyprland-monitor-attached/package.nix new file mode 100644 index 0000000000000..6f505aa7981ef --- /dev/null +++ b/pkgs/by-name/hy/hyprland-monitor-attached/package.nix @@ -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; + }; +} |