summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2025-01-30 09:52:02 +0300
committerVika <vika@fireburn.ru>2025-01-30 11:03:24 +0300
commit14993401216f4236d632a18770d91f63e70bc155 (patch)
tree1ee1510d0a998d986b6b7003241da4fe6d5b249c /flake.nix
parent29568a14b389049480591e67a116400d030e8db1 (diff)
downloadbowl-14993401216f4236d632a18770d91f63e70bc155.tar.zst
Bonus goodies: Icon in Colloid style HEAD main
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: {