Add wallpaper config
This commit is contained in:
parent
aefcbf708c
commit
a462b12b59
@ -14,6 +14,7 @@
|
||||
wmenu
|
||||
swaylock
|
||||
swayidle
|
||||
hyprpaper
|
||||
]);
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
|
@ -5,6 +5,7 @@
|
||||
let startup = pkgs.writeShellScript "startup.sh" ''
|
||||
hyprctl setcursor Bibata-Original-Classic 24
|
||||
waybar &
|
||||
hyprpaper &
|
||||
|
||||
swayidle -w \
|
||||
timeout 270 'swaylock -f' \
|
||||
|
16
common/users/cameron/home-manager/hyprpaper.nix
Normal file
16
common/users/cameron/home-manager/hyprpaper.nix
Normal 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
|
||||
'';
|
||||
};
|
||||
}
|
@ -7,6 +7,7 @@
|
||||
settings = {
|
||||
ignore-empty-password = true;
|
||||
color = "333333";
|
||||
image = ./wallpapers/lake.jpg;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
BIN
common/users/cameron/home-manager/wallpapers/lake.jpg
Normal file
BIN
common/users/cameron/home-manager/wallpapers/lake.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 912 KiB |
Loading…
Reference in New Issue
Block a user