home: wallpapers: use fetchers
|
@ -16,7 +16,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
startupPrograms = [
|
startupPrograms = [
|
||||||
"pgrep -x sxhkd > /dev/null || sxhkd"
|
"pgrep -x sxhkd > /dev/null || sxhkd"
|
||||||
"pgrep -x feh > /dev/null || feh --bg-fill ~/.local/share/backgrounds/wallpaper1.png"
|
"pgrep -x feh > /dev/null || feh --bg-fill ~/.local/share/backgrounds/aqua.png"
|
||||||
];
|
];
|
||||||
monitors = {
|
monitors = {
|
||||||
eDP-1 = ["I" "II" "III" "IV" "V" "VI" "VII" "VIII" "IX" "X"];
|
eDP-1 = ["I" "II" "III" "IV" "V" "VI" "VII" "VIII" "IX" "X"];
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
};
|
};
|
||||||
output = {
|
output = {
|
||||||
eDP-1 = {
|
eDP-1 = {
|
||||||
bg = "~/.local/share/backgrounds/wallpaper1.png fill";
|
bg = "~/.local/share/backgrounds/aqua.png fill";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,24 @@
|
||||||
_: {
|
{pkgs, ...}: {
|
||||||
xdg.dataFile."backgrounds" = {
|
xdg.dataFile = {
|
||||||
source = ./wallpapers;
|
### Local
|
||||||
recursive = true;
|
"backgrounds/unixcloud.jpg".source = ./wallpapers/unixcloud.jpg; # https://www.deviantart.com/georgegach/art/Unix-Cloud-818259008
|
||||||
|
|
||||||
|
### Online
|
||||||
|
"backgrounds/aqua.png".source = pkgs.fetchurl {
|
||||||
|
url = "https://github.com/mashumarodesu/dots/blob/master/Assets/Aqua.png?raw=true"; # https://www.pixiv.net/en/artworks/106654974
|
||||||
|
hash = "sha256-JIat75RKz48a0BtniJBR1ifEk0tkkrHUrLPAHAz3Z1o=";
|
||||||
|
};
|
||||||
|
"backgrounds/summer.jpg".source = pkgs.fetchurl {
|
||||||
|
url = "https://images.hdqwalls.com/wallpapers/anime-couple-on-bicycle-1u.jpg"; # https://www.pixiv.net/en/artworks/49983419
|
||||||
|
hash = "sha256-J6ckWjfPyviUsDfswOYVPB4UEOBQ63Yr5yeJtOd9/2k=";
|
||||||
|
};
|
||||||
|
"backgrounds/macos-mojave-day.jpg".source = pkgs.fetchurl {
|
||||||
|
url = "https://media.idownloadblog.com/wp-content/uploads/2018/06/macOS-Mojave-Day-wallpaper.jpg";
|
||||||
|
hash = "sha256-DtIaO7jWkhdU4EqJL8QfAaaajRcME79/O8szk1po/Go=";
|
||||||
|
};
|
||||||
|
"backgrounds/macos-mojave-night.jpg".source = pkgs.fetchurl {
|
||||||
|
url = "https://media.idownloadblog.com/wp-content/uploads/2018/06/macOS-Mojave-Night-wallpaper.jpg";
|
||||||
|
hash = "sha256-Zv7uvjSNACpI2Yck22bsA8gwVaju2Yght7y09xko9xw=";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 8.6 MiB |
After Width: | Height: | Size: 1.7 MiB |
Before Width: | Height: | Size: 6 MiB |
Before Width: | Height: | Size: 4.1 MiB |
Before Width: | Height: | Size: 598 KiB |
Before Width: | Height: | Size: 7.7 MiB |
Before Width: | Height: | Size: 1.5 MiB |