hyprland: Use background from nix store

Note that instead of searching for the background at runtime, it is
likely possible to reference the background at build time when the
hyprland config is migrated to Nix.
This commit is contained in:
Donovan Glover 2023-05-10 15:11:59 -04:00
parent 1a3583567b
commit 8745033373
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -7,7 +7,7 @@ monitor=,preferred,auto,1
#monitor=,highres,auto,1 # Use the highest resolution
# Execute your favorite apps at launch
exec-once = swaybg --mode fill --image ~/.config/background
exec-once = swaybg --mode fill --image "$(fd -d 1 wallpaper.png /nix/store/)"
exec-once = wpctl set-volume @DEFAULT_AUDIO_SINK@ 20%
exec-once = sleep 0.5 && waybar
exec-once = fcitx5 # Japanese input support