Fixes transparency on custom emacs dashboard logo

This commit is contained in:
Emmet 2024-06-22 22:00:36 -05:00
parent 656608c84a
commit a27ddf7d71
5 changed files with 8 additions and 6 deletions

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs-emacs, pkgs-stable, inputs, userSettings, systemSettings, ... }:
let
themePolarity = lib.removeSuffix "\n" (builtins.readFile (./. + "../../../../themes"+("/"+userSettings.theme)+"/polarity.txt"));
dashboardLogo = ./. + "/nix-" + themePolarity + ".png";
dashboardLogo = ./. + "/nix-" + themePolarity + ".webp";
in
{
imports = [
@ -109,7 +109,7 @@ in
source = "${inputs.org-sliced-images}";
};
home.file.".emacs.d/dashboard-logo.png".source = dashboardLogo;
home.file.".emacs.d/dashboard-logo.webp".source = dashboardLogo;
home.file.".emacs.d/scripts/copy-link-or-file/copy-link-or-file-to-clipboard.sh" = {
source = ./scripts/copy-link-or-file/copy-link-or-file-to-clipboard.sh;
executable = true;