mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 09:14:34 +05:30
Setup nix logo for doom dashboard
This commit is contained in:
parent
9c53947930
commit
d2fdccd8e7
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue