diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index 7e1fdae..d2a54f2 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -84,10 +84,11 @@ (require 'dashboard) (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")) doom-fallback-buffer-name "*dashboard*") +(setq image-scaling-factor 1) ;; emacs-dashboard variables (setq dashboard-banner-logo-title "Welcome to Nix Doom Emacs") -(setq dashboard-startup-banner 2) +(setq dashboard-startup-banner "~/.emacs.d/dashboard-logo.webp") (setq dashboard-icon-type 'all-the-icons) ;; use `all-the-icons' package (setq dashboard-set-heading-icons t) (setq dashboard-set-file-icons t) diff --git a/user/app/doom-emacs/doom.nix b/user/app/doom-emacs/doom.nix index 77120a2..d18ceab 100644 --- a/user/app/doom-emacs/doom.nix +++ b/user/app/doom-emacs/doom.nix @@ -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; diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index 95c95d2..4af73e8 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -147,10 +147,11 @@ Doom Emacs is traditionally installed by cloning the repository ([[https://githu (require 'dashboard) (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*")) doom-fallback-buffer-name "*dashboard*") +(setq image-scaling-factor 1) ;; emacs-dashboard variables (setq dashboard-banner-logo-title "Welcome to Nix Doom Emacs") -(setq dashboard-startup-banner 2) +(setq dashboard-startup-banner "~/.emacs.d/dashboard-logo.webp") (setq dashboard-icon-type 'all-the-icons) ;; use `all-the-icons' package (setq dashboard-set-heading-icons t) (setq dashboard-set-file-icons t) @@ -2082,7 +2083,7 @@ In order to have Nix load my Doom Emacs configuration [[./doom.nix][doom.nix]], { 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 = [ @@ -2190,7 +2191,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; diff --git a/user/app/doom-emacs/nix-dark.webp b/user/app/doom-emacs/nix-dark.webp new file mode 100644 index 0000000..b225ed7 Binary files /dev/null and b/user/app/doom-emacs/nix-dark.webp differ diff --git a/user/app/doom-emacs/nix-light.webp b/user/app/doom-emacs/nix-light.webp new file mode 100644 index 0000000..92c3aad Binary files /dev/null and b/user/app/doom-emacs/nix-light.webp differ