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
|
|
@ -9,9 +9,6 @@ userConfigs = rec {
|
||||||
email = "bryan@ramos.codes";
|
email = "bryan@ramos.codes";
|
||||||
shell = pkgs.bash;
|
shell = pkgs.bash;
|
||||||
|
|
||||||
# From wallpapers directory
|
|
||||||
wallpaper = "targon.jpg";
|
|
||||||
|
|
||||||
groups = [ "wheel" "networkmanager" "home-manager" "input" ];
|
groups = [ "wheel" "networkmanager" "home-manager" "input" ];
|
||||||
|
|
||||||
gitConfig = optionalAttrs modules.git.enable {
|
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 |
|
|
@ -4,9 +4,9 @@ with lib;
|
||||||
let
|
let
|
||||||
cfg = config.modules.user.gui.wm.hyprland;
|
cfg = config.modules.user.gui.wm.hyprland;
|
||||||
|
|
||||||
wallpapers = builtins.path {
|
wallpaper = builtins.fetchurl {
|
||||||
path = ./config/wallpapers;
|
url = "https://images6.alphacoders.com/117/1174033.png";
|
||||||
name = "wallpapers";
|
sha256 = "1ph5m9s57076jx6042iipqx2ifzadmd5z4lf5l49wgq4jb92mp16";
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
@ -169,10 +169,10 @@ in
|
||||||
splash_offset = 2.0;
|
splash_offset = 2.0;
|
||||||
|
|
||||||
preload =
|
preload =
|
||||||
[ "${wallpapers}/${config.user.wallpaper}" ];
|
[ "${wallpaper}" ];
|
||||||
|
|
||||||
wallpaper = [
|
wallpaper = [
|
||||||
",${wallpapers}/${config.user.wallpaper}"
|
",${wallpaper}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,10 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
modifier = config.wayland.windowManager.sway.config.modifier;
|
modifier = config.wayland.windowManager.sway.config.modifier;
|
||||||
wallpapers = builtins.path {
|
|
||||||
path = ./wallpapers;
|
wallpaper = builtins.fetchurl {
|
||||||
name = "wallpapers";
|
url = "https://images6.alphacoders.com/117/1174033.png";
|
||||||
|
sha256 = "1ph5m9s57076jx6042iipqx2ifzadmd5z4lf5l49wgq4jb92mp16";
|
||||||
};
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
@ -25,12 +26,12 @@ in
|
||||||
HDMI-A-1 = {
|
HDMI-A-1 = {
|
||||||
resolution = "1920x1080";
|
resolution = "1920x1080";
|
||||||
position = "0,0";
|
position = "0,0";
|
||||||
bg = "${wallpapers}/${config.user.wallpaper} fill";
|
bg = "${wallpaper} fill";
|
||||||
};
|
};
|
||||||
DP-1 = {
|
DP-1 = {
|
||||||
resolution = "1920x1080";
|
resolution = "1920x1080";
|
||||||
position = "1920,0";
|
position = "1920,0";
|
||||||
bg = "${wallpapers}/${config.user.wallpaper} fill";
|
bg = "${wallpaper} fill";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
modifier = "Mod1";
|
modifier = "Mod1";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue