Add wallpaper config

This commit is contained in:
Cameron Reed 2024-01-25 20:08:29 -07:00
parent aefcbf708c
commit a462b12b59
5 changed files with 19 additions and 0 deletions

View File

@ -14,6 +14,7 @@
wmenu
swaylock
swayidle
hyprpaper
]);
fonts.packages = with pkgs; [

View File

@ -5,6 +5,7 @@
let startup = pkgs.writeShellScript "startup.sh" ''
hyprctl setcursor Bibata-Original-Classic 24
waybar &
hyprpaper &
swayidle -w \
timeout 270 'swaylock -f' \

View File

@ -0,0 +1,16 @@
{ pkgs, lib, osConfig, ... }:
{
home.file."hyprpaper.conf" = {
enable = builtins.elem "hyprland" osConfig.desktop;
target = ".config/hypr/hyprpaper.conf";
text = ''
preload = ${./wallpapers/lake.jpg}
wallpaper = ,${./wallpapers/lake.jpg}
splash = false
'';
};
}

View File

@ -7,6 +7,7 @@
settings = {
ignore-empty-password = true;
color = "333333";
image = ./wallpapers/lake.jpg;
};
};
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 KiB