Add sweet/candy icon+folder themes, change Vanguard wallpaper

This commit is contained in:
Evie Litherland-Smith 2023-06-02 11:51:08 +01:00
parent b4ac4f36bc
commit 523dd728f6
5 changed files with 87 additions and 9 deletions

View file

@ -7,8 +7,8 @@
programs.fish.shellAbbrs.hypr = "exec Hyprland"; programs.fish.shellAbbrs.hypr = "exec Hyprland";
xdg.configFile."hypr/hyprpaper.conf".text = '' xdg.configFile."hypr/hyprpaper.conf".text = ''
preload = /etc/nixos/config/wallpaper/images_dark/1920x1080.png preload = /mnt/secondary/syncthing/pictures/Wallpapers/Landscapes/IMG_9509.JPG
wallpaper = ,/etc/nixos/config/wallpaper/images_dark/1920x1080.png wallpaper = ,/mnt/secondary/syncthing/pictures/Wallpapers/Landscapes/IMG_9509.JPG
''; '';
wayland.windowManager.hyprland.extraConfig = '' wayland.windowManager.hyprland.extraConfig = ''
source=./common.conf source=./common.conf

View file

@ -3,8 +3,16 @@
config, config,
... ...
}: let }: let
delta = pkgs.callPackage ./pkgs/delta-icon-theme {}; candy = pkgs.callPackage ./pkgs/candy-icon-theme {};
sweet-folder = pkgs.callPackage ./pkgs/sweet-folder-theme {};
in { in {
home.packages = [
candy.candy-icon-theme
sweet-folder.sweet-folder-theme
pkgs.breeze-gtk
pkgs.gnome.adwaita-icon-theme
pkgs.hicolor-icon-theme
];
gtk = { gtk = {
enable = true; enable = true;
cursorTheme = { cursorTheme = {
@ -12,12 +20,12 @@ in {
name = "Catppuccin-Macchiato-Dark-Cursors"; name = "Catppuccin-Macchiato-Dark-Cursors";
}; };
iconTheme = { iconTheme = {
package = delta.delta-icon-theme; package = sweet-folder.sweet-folder-theme;
name = "Delta"; name = "Sweet-Rainbow";
}; };
theme = { theme = {
package = pkgs.catppuccin-gtk; package = pkgs.sweet;
name = "Catppuccin-Frappe-Standard-Blue-Dark"; name = "Sweet-Dark";
}; };
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
}; };

View file

@ -0,0 +1,35 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
gtk3,
}: {
candy-icon-theme = stdenvNoCC.mkDerivation rec {
pname = "candy-icon-theme";
version = "6a35be5cb133c6be8314807f55da3d795e24fb86";
dontBuild = true;
src = fetchFromGitHub {
owner = "EliverLara";
repo = "candy-icons";
rev = version;
sha256 = "sha256-M58ts/xyVf+ZDidd4MEp/LlU3vk2imEwOnb0/sVJUYo=";
};
nativeBuildInputs = [gtk3];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons/Sweet-folders
mv * $out/share/icons/Sweet-folders
for theme in $out/share/icons/*; do
gtk-update-icon-cache --force $theme
done
runHook postInstall
'';
};
}

View file

@ -0,0 +1,35 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
gtk3,
}: {
sweet-folder-theme = stdenvNoCC.mkDerivation rec {
pname = "sweet-folder-theme";
version = "b2192ff1412472f036fdf9778c6b9dbcb6c044ec";
dontBuild = true;
src = fetchFromGitHub {
owner = "EliverLara";
repo = "Sweet-folders";
rev = version;
sha256 = "sha256-QexfqXH5a1IEhKBRjWSMdrEvThvLRzd4M32Xti1DCGE=";
};
nativeBuildInputs = [gtk3];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
mv Sweet-Rainbow $out/share/icons
for theme in $out/share/icons/*; do
gtk-update-icon-cache --force $theme
done
runHook postInstall
'';
};
}

View file

@ -8,13 +8,13 @@ in {
enable = true; enable = true;
location = "center"; location = "center";
pass.enable = true; pass.enable = true;
terminal = "\${pkgs.foot}/bin/foot"; terminal = "wezterm";
plugins = with pkgs; [ plugins = with pkgs; [
rofi-calc rofi-calc
]; ];
extraConfig = { extraConfig = {
modi = "run,drun,calc"; modi = "run,drun,calc";
icon-theme = "Delta"; icon-theme = "Sweet-Rainbow";
show-icons = true; show-icons = true;
drun-display-format = "{icon} {name}"; drun-display-format = "{icon} {name}";
disable-history = false; disable-history = false;