mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
changed wallpaper to fetchurl
This commit is contained in:
parent
92869f833a
commit
edaffee627
5 changed files with 12 additions and 14 deletions
|
|
@ -3,10 +3,10 @@
|
|||
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}"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue