Setup nix logo for doom dashboard

This commit is contained in:
Emmet 2023-06-04 10:52:24 -05:00
parent 9c53947930
commit d2fdccd8e7
4 changed files with 8 additions and 5 deletions

View file

@ -31,7 +31,7 @@
theme = "ayu-dark";
themePolarityPath = "/themes/"+theme+"/polarity.txt";
themePolarity = builtins.readFile (./. + themePolarityPath);
themePolarity = lib.removeSuffix "\n" (builtins.readFile (./. + themePolarityPath));
backgroundUrlPath = "/themes/"+theme+"/backgroundurl.txt";
backgroundUrl = builtins.readFile (./. + backgroundUrlPath);
backgroundSha256Path = "/themes/"+theme+"/backgroundsha256.txt";

View file

@ -59,7 +59,7 @@
(setq custom-file null-device)
;; Fancy splash image
(setq fancy-splash-image "./arch.png")
(setq fancy-splash-image "~/.emacs.d/dashboard-logo.png")
(setq +doom-dashboard-menu-sections
'(("Open org roam overview" :icon

View file

@ -1,5 +1,7 @@
{ config, lib, pkgs, eaf, eaf-browser, org-nursery, ... }:
{ config, lib, pkgs, eaf, eaf-browser, org-nursery, myThemePolarity, ... }:
let
myDashboardLogo = ./. + "/nix-" + myThemePolarity + ".png";
in
{
programs.doom-emacs = {
enable = true;
@ -42,4 +44,5 @@
home.file.".emacs.d/org-nursery" = {
source = "${org-nursery}";
};
home.file.".emacs.d/dashboard-logo.png".source = myDashboardLogo;
}

View file

@ -111,7 +111,7 @@ I use this functionality to load my private config file with non-public informat
(setq custom-file null-device)
;; Fancy splash image
(setq fancy-splash-image "./arch.png")
(setq fancy-splash-image "~/.emacs.d/dashboard-logo.png")
(setq +doom-dashboard-menu-sections
'(("Open org roam overview" :icon