1
0
forked from extern/nix-config

Revert "eww: Switch from fluent icons to candy icons"

Note that I may experiment with lutgen to make folder icons that match
the color scheme.
This commit is contained in:
Donovan Glover 2024-01-02 18:51:49 -05:00
parent 57dfa43776
commit 7b7d967250
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 15 additions and 15 deletions

View File

@ -6,16 +6,16 @@
xdg.configFile."eww/eww.yuck".text = /* yuck */ ''
(defwidget icons []
(box :orientation "h" :spacing 32
(icon :img "user-desktop" :exec "/home/user")
(icon :img "folder-download" :exec "/home/user/")
(icon :img "folder-documents" :exec "/home/user/")
(icon :img "folder-music" :exec "/home/user/")
(icon :img "folder-pictures" :exec "/home/user/")
(icon :img "folder-videos" :exec "/home/user/")))
(icon :img "grey-user-home" :exec "/home/user")
(icon :img "grey-folder-download" :exec "/home/user/")
(icon :img "grey-folder-documents" :exec "/home/user/")
(icon :img "grey-folder-music" :exec "/home/user/")
(icon :img "grey-folder-pictures" :exec "/home/user/")
(icon :img "grey-folder-video" :exec "/home/user/")))
(defwidget icon [img exec]
(eventbox :cursor "pointer" :onclick "lnch thunar ''${exec}" :tooltip "''${exec}"
(image :path "/run/current-system/sw/share/eww/Candy-Icons/''${img}.png" :image-width 128)))
(image :path "/run/current-system/sw/share/eww/Fluent-Icons/''${img}.png" :image-width 128)))
(defwindow desktop-icons
:monitor 0

View File

@ -8,8 +8,8 @@
];
environment.systemPackages = with pkgs; [
(callPackage ./fluent-icons.nix { })
(callPackage ./osu-backgrounds.nix { })
(callPackage ./candy-icons.nix { })
(callPackage ./pnpm-shell-completion.nix { })
(callPackage ./webp-thumbnailer.nix { })
];

View File

@ -4,13 +4,13 @@
}:
stdenvNoCC.mkDerivation {
pname = "candy-icons";
version = "2023-12-07";
pname = "fluent-icons";
version = "2023-08-07";
src = fetchurl {
name = "Candy Icons.zip";
url = "https://files.catbox.moe/zn84ts.zip";
hash = "sha256-X2P4SAERpXEkNX0w6qLS3BEbdYtQiST/cimdmrfFY6E=";
name = "Fluent Icons.zip";
url = "https://files.catbox.moe/a6iswm.zip";
hash = "sha256-LsMZr+RedK2Vi21K44A/vpBv54BISjshZ2+iAlMYASU=";
};
nativeBuildInputs = [ unar ];
@ -34,7 +34,7 @@ stdenvNoCC.mkDerivation {
'';
meta = {
homepage = "https://github.com/EliverLara/candy-icons";
description = "Candy folder icons converted to png";
homepage = "https://github.com/vinceliuice/Fluent-icon-theme";
description = "Fluent folder icons converted to png";
};
}