eww: Switch from fluent icons to candy icons

This commit is contained in:
Donovan Glover 2023-12-07 08:49:17 -05:00
parent 91cd533c28
commit 341bfea7fa
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 "grey-user-home" :exec "/home/user") (icon :img "user-desktop" :exec "/home/user")
(icon :img "grey-folder-download" :exec "/home/user/") (icon :img "folder-download" :exec "/home/user/")
(icon :img "grey-folder-documents" :exec "/home/user/") (icon :img "folder-documents" :exec "/home/user/")
(icon :img "grey-folder-music" :exec "/home/user/") (icon :img "folder-music" :exec "/home/user/")
(icon :img "grey-folder-pictures" :exec "/home/user/") (icon :img "folder-pictures" :exec "/home/user/")
(icon :img "grey-folder-video" :exec "/home/user/"))) (icon :img "folder-videos" :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/Fluent-Icons/''${img}.png" :image-width 128))) (image :path "/run/current-system/sw/share/eww/Candy-Icons/''${img}.png" :image-width 128)))
(defwindow desktop-icons (defwindow desktop-icons
:monitor 0 :monitor 0

View File

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

View File

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