diff --git a/flake.nix b/flake.nix index f7feabc..3f7f445 100644 --- a/flake.nix +++ b/flake.nix @@ -24,10 +24,12 @@ name = "emmet"; email = "librephoenix@protonmail.com"; dotfilesDir = "~/dotfiles"; - theme = "atelier-plateau"; + theme = "ayu-dark"; themePolarity = "dark"; - backgroundUrl = "https://w.wallhaven.cc/full/6d/wallhaven-6d5k6x.jpg"; - backgroundSha256 = "+xl4H3UiVmMRNvMhIlaLdVTYYqnSyCTSX2UOTGsDQ8c="; + backgroundUrlPath = "/themes/"+theme+"/backgroundurl.txt"; + backgroundUrl = builtins.readFile (./. + backgroundUrlPath); + backgroundSha256Path = "/themes/"+theme+"/backgroundsha256.txt"; + backgroundSha256 = builtins.readFile (./. + backgroundSha256Path); pkgs = import nixpkgs { inherit system; diff --git a/themes/ayu-dark/backgroundsha256.txt b/themes/ayu-dark/backgroundsha256.txt new file mode 100644 index 0000000..8b4f2d4 --- /dev/null +++ b/themes/ayu-dark/backgroundsha256.txt @@ -0,0 +1 @@ +sha256-0BiSjEZnwh6KnWuNau+9lf1PVBYRnq228l4OA/nm5YI= diff --git a/themes/ayu-dark/backgroundurl.txt b/themes/ayu-dark/backgroundurl.txt new file mode 100644 index 0000000..7196a95 --- /dev/null +++ b/themes/ayu-dark/backgroundurl.txt @@ -0,0 +1 @@ +https://w.wallhaven.cc/full/zy/wallhaven-zy8wwo.jpg diff --git a/themes/emil/backgroundsha256.txt b/themes/emil/backgroundsha256.txt new file mode 100644 index 0000000..bd40d3e --- /dev/null +++ b/themes/emil/backgroundsha256.txt @@ -0,0 +1 @@ +sha256-TzFm4UeVz8PFun8Xor/BEowZjUx3AVXgeeV537icIAM= diff --git a/themes/emil/backgroundurl.txt b/themes/emil/backgroundurl.txt new file mode 100644 index 0000000..2a9ed49 --- /dev/null +++ b/themes/emil/backgroundurl.txt @@ -0,0 +1 @@ +https://w.wallhaven.cc/full/vg/wallhaven-vglkw3.png diff --git a/themes/everforest/backgroundsha256.txt b/themes/everforest/backgroundsha256.txt new file mode 100644 index 0000000..01cb522 --- /dev/null +++ b/themes/everforest/backgroundsha256.txt @@ -0,0 +1 @@ +sha256-xtnvDoIs+kKvRXo/L+ifq/q+yWNeqh1EUsaRkmDTtz4= diff --git a/themes/everforest/backgroundurl.txt b/themes/everforest/backgroundurl.txt new file mode 100644 index 0000000..17d3ae2 --- /dev/null +++ b/themes/everforest/backgroundurl.txt @@ -0,0 +1 @@ +https://w.wallhaven.cc/full/83/wallhaven-839ppy.png diff --git a/themes/manegarm/backgroundsha256.txt b/themes/manegarm/backgroundsha256.txt new file mode 100644 index 0000000..e6f451c --- /dev/null +++ b/themes/manegarm/backgroundsha256.txt @@ -0,0 +1 @@ +sha256-mOWXzivKwI7AJNOleij+mdveoX5IMeswH8bSh1ZNLKE= diff --git a/themes/manegarm/backgroundurl.txt b/themes/manegarm/backgroundurl.txt new file mode 100644 index 0000000..bc1b946 --- /dev/null +++ b/themes/manegarm/backgroundurl.txt @@ -0,0 +1 @@ +https://wallpaper-mania.com/wp-content/uploads/2018/09/High_resolution_wallpaper_background_ID_77700131173-optimized.jpg diff --git a/themes/monokai/backgroundsha256.txt b/themes/monokai/backgroundsha256.txt new file mode 100644 index 0000000..6411fb2 --- /dev/null +++ b/themes/monokai/backgroundsha256.txt @@ -0,0 +1 @@ +sha256-zQXOIdWGxvwh6KFeiWwfRFNqIHtWzCsVHK8ondcYi2w= diff --git a/themes/monokai/backgroundurl.txt b/themes/monokai/backgroundurl.txt new file mode 100644 index 0000000..e746a49 --- /dev/null +++ b/themes/monokai/backgroundurl.txt @@ -0,0 +1 @@ +https://w.wallhaven.cc/full/xl/wallhaven-xl225z.png diff --git a/themes/something/backgroundsha256.txt b/themes/something/backgroundsha256.txt new file mode 100644 index 0000000..6fcd29b --- /dev/null +++ b/themes/something/backgroundsha256.txt @@ -0,0 +1 @@ +sha256-3HX1ADHBXR50YGmS0Y7i6n19AUX74sy8tJnOLZzMjEw= diff --git a/themes/something/backgroundurl.txt b/themes/something/backgroundurl.txt new file mode 100644 index 0000000..d9e99ef --- /dev/null +++ b/themes/something/backgroundurl.txt @@ -0,0 +1 @@ +https://w.wallhaven.cc/full/x8/wallhaven-x82ldl.jpg diff --git a/themes/spaceduck/backgroundsha256.txt b/themes/spaceduck/backgroundsha256.txt new file mode 100644 index 0000000..db1d141 --- /dev/null +++ b/themes/spaceduck/backgroundsha256.txt @@ -0,0 +1,2 @@ +sha256-+xl4H3UiVmMRNvMhIlaLdVTYYqnSyCTSX2UOTGsDQ8c= + diff --git a/themes/spaceduck/backgroundurl.txt b/themes/spaceduck/backgroundurl.txt new file mode 100644 index 0000000..ca3b097 --- /dev/null +++ b/themes/spaceduck/backgroundurl.txt @@ -0,0 +1 @@ +https://w.wallhaven.cc/full/6d/wallhaven-6d5k6x.jpg diff --git a/themes/tomorrow-night/backgroundsha256.txt b/themes/tomorrow-night/backgroundsha256.txt new file mode 100644 index 0000000..7d5aa52 --- /dev/null +++ b/themes/tomorrow-night/backgroundsha256.txt @@ -0,0 +1 @@ +sha256-G8wLZitUlaquirgCtHCFu6dQHJophD8/c7INNMhh49M= diff --git a/themes/tomorrow-night/backgroundurl.txt b/themes/tomorrow-night/backgroundurl.txt new file mode 100644 index 0000000..b98dfb5 --- /dev/null +++ b/themes/tomorrow-night/backgroundurl.txt @@ -0,0 +1 @@ +https://w.wallhaven.cc/full/28/wallhaven-28867y.png diff --git a/themes/ubuntu/backgroundsha256.txt b/themes/ubuntu/backgroundsha256.txt new file mode 100644 index 0000000..8b4bf85 --- /dev/null +++ b/themes/ubuntu/backgroundsha256.txt @@ -0,0 +1 @@ +sha256-5TPwZAQekK1Aq2YdomcJ0irGmIXVPUpgxRwuEetthYw= diff --git a/themes/ubuntu/backgroundurl.txt b/themes/ubuntu/backgroundurl.txt new file mode 100644 index 0000000..07e66fb --- /dev/null +++ b/themes/ubuntu/backgroundurl.txt @@ -0,0 +1 @@ +https://images.hdqwalls.com/download/sea-of-dreamscape-r4-1920x1080.jpg diff --git a/themes/windows-95/backgroundsha256.txt b/themes/windows-95/backgroundsha256.txt new file mode 100644 index 0000000..5a30da5 --- /dev/null +++ b/themes/windows-95/backgroundsha256.txt @@ -0,0 +1 @@ +sha256-xgMi6fH3yMGk0txu0p5x01OY9qC4x597vEgSy/G9TBY= diff --git a/themes/windows-95/backgroundurl.txt b/themes/windows-95/backgroundurl.txt new file mode 100644 index 0000000..6649751 --- /dev/null +++ b/themes/windows-95/backgroundurl.txt @@ -0,0 +1 @@ +https://w.wallhaven.cc/full/01/wallhaven-01e6xw.jpg