Add wallpaper config
This commit is contained in:
parent
aefcbf708c
commit
a462b12b59
@ -14,6 +14,7 @@
|
|||||||
wmenu
|
wmenu
|
||||||
swaylock
|
swaylock
|
||||||
swayidle
|
swayidle
|
||||||
|
hyprpaper
|
||||||
]);
|
]);
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
let startup = pkgs.writeShellScript "startup.sh" ''
|
let startup = pkgs.writeShellScript "startup.sh" ''
|
||||||
hyprctl setcursor Bibata-Original-Classic 24
|
hyprctl setcursor Bibata-Original-Classic 24
|
||||||
waybar &
|
waybar &
|
||||||
|
hyprpaper &
|
||||||
|
|
||||||
swayidle -w \
|
swayidle -w \
|
||||||
timeout 270 'swaylock -f' \
|
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 = {
|
settings = {
|
||||||
ignore-empty-password = true;
|
ignore-empty-password = true;
|
||||||
color = "333333";
|
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