changed wallpaper to fetchurl

This commit is contained in:
Bryan Ramos 2024-11-05 05:50:34 -05:00
parent 92869f833a
commit edaffee627
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8
5 changed files with 12 additions and 14 deletions

View file

@ -9,9 +9,6 @@ userConfigs = rec {
email = "bryan@ramos.codes";
shell = pkgs.bash;
# From wallpapers directory
wallpaper = "targon.jpg";
groups = [ "wheel" "networkmanager" "home-manager" "input" ];
gitConfig = optionalAttrs modules.git.enable {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 609 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

View file

@ -4,9 +4,9 @@ with lib;
let
cfg = config.modules.user.gui.wm.hyprland;
wallpapers = builtins.path {
path = ./config/wallpapers;
name = "wallpapers";
wallpaper = builtins.fetchurl {
url = "https://images6.alphacoders.com/117/1174033.png";
sha256 = "1ph5m9s57076jx6042iipqx2ifzadmd5z4lf5l49wgq4jb92mp16";
};
in
@ -169,10 +169,10 @@ in
splash_offset = 2.0;
preload =
[ "${wallpapers}/${config.user.wallpaper}" ];
[ "${wallpaper}" ];
wallpaper = [
",${wallpapers}/${config.user.wallpaper}"
",${wallpaper}"
];
};
};

View file

@ -2,9 +2,10 @@
let
modifier = config.wayland.windowManager.sway.config.modifier;
wallpapers = builtins.path {
path = ./wallpapers;
name = "wallpapers";
wallpaper = builtins.fetchurl {
url = "https://images6.alphacoders.com/117/1174033.png";
sha256 = "1ph5m9s57076jx6042iipqx2ifzadmd5z4lf5l49wgq4jb92mp16";
};
in
@ -25,12 +26,12 @@ in
HDMI-A-1 = {
resolution = "1920x1080";
position = "0,0";
bg = "${wallpapers}/${config.user.wallpaper} fill";
bg = "${wallpaper} fill";
};
DP-1 = {
resolution = "1920x1080";
position = "1920,0";
bg = "${wallpapers}/${config.user.wallpaper} fill";
bg = "${wallpaper} fill";
};
};
modifier = "Mod1";