Changes wallpaper, enables auto changing on darwin

This commit is contained in:
willemml 2023-11-18 22:41:11 -08:00
parent 1b6fb44a6b
commit 160df15688
Signed by: willemml
GPG key ID: C3DE5DF6198DACBD
3 changed files with 19 additions and 1 deletions

View file

@ -15,6 +15,18 @@ rec {
url = "https://git.kdb424.xyz/kdb424/wallpapers/raw/branch/main/wallhaven-7p3we9.png"; url = "https://git.kdb424.xyz/kdb424/wallpapers/raw/branch/main/wallhaven-7p3we9.png";
sha256 = "05acf2czadfnxswnqpgx9rsx71mqspmz5kafi3i1d2z191az6inf"; sha256 = "05acf2czadfnxswnqpgx9rsx71mqspmz5kafi3i1d2z191az6inf";
}; };
samuraigirl = {
url = "https://w.wallhaven.cc/full/1p/wallhaven-1pol63.png";
sha256 = "sha256-R1H1dQiYZXs2G7xGuypWmu+HtGWujursbaa7ZZYqLTU=";
};
italymountains = {
url = "https://w.wallhaven.cc/full/z8/wallhaven-z87xmg.jpg";
sha256 = "sha256-NklTjeU/mrPCZVYNvxGMR8KrCM/bUVoEYN4FrDnlUO8=";
};
flowerstairs = {
url = "https://w.wallhaven.cc/full/5g/wallhaven-5gpv25.jpg";
sha256 = "sha256-GOJA5JmW4KPw4UtFAru0JTBG7NUmc9PdmRFu8k9OwU0=";
};
current = fireportal; current = italymountains;
} }

View file

@ -1,6 +1,7 @@
{ {
pkgs, pkgs,
inputs, inputs,
config,
... ...
}: { }: {
imports = [ imports = [
@ -15,6 +16,10 @@
inputs.stylix.darwinModules.stylix inputs.stylix.darwinModules.stylix
]; ];
system.activationScripts.extraActivation.text = ''
osascript -e 'tell application "System Events" to tell every desktop to set picture to "${config.stylix.image}"'
'';
homebrew = { homebrew = {
enable = true; enable = true;
casks = [ casks = [

View file

@ -16,6 +16,7 @@
"Dictionary" "Dictionary"
"mpv" "mpv"
"Software Update" "Software Update"
"Set Desktop Background"
]; ];
floating-rules = lists.forEach floating-apps ( floating-rules = lists.forEach floating-apps (