Skip to content

Commit 58e9cd4

Browse files
committed
hyprlandPlugins.imgborders: init at 1.0.1
1 parent b95e488 commit 58e9cd4

2 files changed

Lines changed: 43 additions & 0 deletions

File tree

pkgs/applications/window-managers/hyprwm/hyprland-plugins/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ let
4444
{ hyprspace = import ./hyprspace.nix; }
4545
{ hyprsplit = import ./hyprsplit.nix; }
4646
(import ./hyprland-plugins.nix)
47+
{ imgborders = import ./imgborders.nix; }
4748
(lib.optionalAttrs config.allowAliases {
4849
hycov = throw "hyprlandPlugins.hycov has been removed because it has been marked as broken since September 2024."; # Added 2025-10-12
4950
hyprscroller = throw "hyprlandPlugins.hyprscroller has been removed as the upstream project is deprecated. Consider using `hyprlandPlugins.hyprscrolling`."; # Added 2025-05-09
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
lib,
3+
fetchFromCodeberg,
4+
mkHyprlandPlugin,
5+
cmake,
6+
nix-update-script,
7+
}:
8+
mkHyprlandPlugin (finalAttrs: {
9+
pluginName = "imgborders";
10+
version = "1.0.1";
11+
12+
src = fetchFromCodeberg {
13+
owner = "zacoons";
14+
repo = "imgborders";
15+
tag = finalAttrs.version;
16+
hash = "sha256-fCzz4gh8pd7J6KQJB/avYcS0Z7NYpxjznPMtOwypPSQ=";
17+
};
18+
19+
nativeBuildInputs = [
20+
cmake
21+
];
22+
23+
installPhase = ''
24+
runHook preInstall
25+
26+
mkdir -p $out/lib
27+
mv imgborders.so $out/lib/libimgborders.so
28+
29+
runHook postInstall
30+
'';
31+
32+
passthru.updateScript = nix-update-script { };
33+
34+
meta = {
35+
homepage = "https://codeberg.org/zacoons/imgborders";
36+
description = "Add tiling image borders to windows!";
37+
license = lib.licenses.unlicense;
38+
maintainers = with lib.maintainers; [
39+
mrdev023
40+
];
41+
};
42+
})

0 commit comments

Comments
 (0)