summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 0d4ce20..d309bf4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -36,6 +36,14 @@
       default = self.packages.${system}.bowl;
       # Needed for translations
       xtr = pkgs.callPackage ./pkgs/xtr {};
+
+      colloid-icon = pkgs.runCommand "bowl-colloid-icon" {} ''
+        mkdir -p $out/share/icons/Colloid-{Dark,Light}/apps/scalable
+        install -Dm755 ${./extras/colloid-icon.svg} $out/share/icons/Colloid-Light/apps/scalable/xyz.vikanezrimaya.kittybox.Bowl.svg
+
+        cd $out/share/icons/Colloid-Dark/apps/scalable
+        ln -sr ../../../Colloid-Light/apps/scalable/xyz.vikanezrimaya.kittybox.Bowl.svg $out/share/icons/Colloid-Dark/apps/scalable/xyz.vikanezrimaya.kittybox.Bowl.svg
+      '';
     };
 
     overlays.default = final: prev: {