hopefully a fix for automatically setting desktop and lockscreen backgrounds

This commit is contained in:
serenity-F 2024-11-24 22:45:23 +10:00
parent 10ec1fd7a1
commit 629402b836
4 changed files with 7 additions and 4 deletions

View file

@ -43,7 +43,7 @@
exec-once = [ exec-once = [
"startup" "startup"
#"otd-gui" #"otd-gui"
#"${pkgs.udiskie}/bin/udiskie" #"${pkgs.udiskie}/bin/udiskie"
#"${pkgs.hypridle}/bin/hypridle" #"${pkgs.hypridle}/bin/hypridle"
#"${pkgs.swww}/bin/swww swww init" #"${pkgs.swww}/bin/swww swww init"
"${pkgs.kitty}/bin/kitty --class floating" "${pkgs.kitty}/bin/kitty --class floating"

View file

@ -3,7 +3,7 @@
xdg.configFile."hypr/hyprlock.conf".text = '' xdg.configFile."hypr/hyprlock.conf".text = ''
background { background {
monitor = monitor =
path = $HOME/.config/wallpapers/${config.theme.wallpaper} path = ${config.theme.lockscreenWallpaper}
color = rgb(${config.theme.colors.bg}) color = rgb(${config.theme.colors.bg})
blur_size = 4 blur_size = 4

View file

@ -4,7 +4,8 @@
]; ];
theme = { theme = {
wallpaper = "../wallpapers/sphericaEssentia.png"; wallpaper = "../wallpapers/almondBlossoms-VanGogh.jpg";
lockscreenWallpaper = "../wallpapers/attunement-HelveticaBlanc.png";
waybar-transparent = true; waybar-transparent = true;
font-mono = "spleen 32x64"; font-mono = "spleen 32x64";
font = "spleen 32x64"; font = "spleen 32x64";

View file

@ -26,7 +26,9 @@ let
swww-daemon & sleep 0.1 swww-daemon & sleep 0.1
swww img ~/flakes/nixdots/home/desktop/resources/wallpapers/sphericaEssentia-uncredited.png swww img ${config.theme.wallpaper}
swww img ${config.theme.wallpaper}
''; '';