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 */ '' xdg.configFile."eww/eww.yuck".text = /* yuck */ ''
(defwidget icons [] (defwidget icons []
(box :orientation "h" :spacing 32 (box :orientation "h" :spacing 32
(icon :img "user-desktop" :exec "/home/user") (icon :img "grey-user-home" :exec "/home/user")
(icon :img "folder-download" :exec "/home/user/") (icon :img "grey-folder-download" :exec "/home/user/")
(icon :img "folder-documents" :exec "/home/user/") (icon :img "grey-folder-documents" :exec "/home/user/")
(icon :img "folder-music" :exec "/home/user/") (icon :img "grey-folder-music" :exec "/home/user/")
(icon :img "folder-pictures" :exec "/home/user/") (icon :img "grey-folder-pictures" :exec "/home/user/")
(icon :img "folder-videos" :exec "/home/user/"))) (icon :img "grey-folder-video" :exec "/home/user/")))
(defwidget icon [img exec] (defwidget icon [img exec]
(eventbox :cursor "pointer" :onclick "lnch thunar ''${exec}" :tooltip "''${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 (defwindow desktop-icons
:monitor 0 :monitor 0

View File

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

View File

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