Switch to a random swaybg background

This commit is contained in:
David Heinemeier Hansson
2025-06-09 10:15:35 +02:00
parent 8ee64c461e
commit 026f3b7580
3 changed files with 6 additions and 14 deletions

View File

@ -24,8 +24,10 @@ bind = SUPER SHIFT, SPACE, exec, pkill -SIGUSR1 waybar
source = ~/.local/share/omarchy/default/hypr/envs.conf
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
exec-once = hypridle & hyprpaper & swaync & waybar
exec-once = hypridle & swaync & waybar
# Set a random image from ~/.local/share/backgrounds as the background
exec-once = swaybg -i $(find ~/.local/share/backgrounds/ -type f -print0 | shuf -zn1 | xargs -0 printf '%s\n')
#####################
### LOOK AND FEEL ###

View File

@ -1,10 +0,0 @@
# All monitors like this
monitor=,preferred,1
# What a silly need of repetition
preload=~/.config/omarchy/wallpapers/birds-mountain.png
wallpaper=,~/.config/omarchy/wallpapers/birds-mountain.png
# Stretch or fit
# Options: center, tile, stretch, fit, fill
ipc = off

View File

@ -1,6 +1,6 @@
yay -S --noconfirm --needed \
hyprland hyprpaper hyprshot hyprlock hypridle hyprpolkitagent hyprland-qtutils \
waybar swaync \
hyprland hyprshot hyprlock hypridle hyprpolkitagent hyprland-qtutils \
waybar swaync swaybg \
xdg-desktop-portal-hyprland xdg-desktop-portal xdg-desktop-portal-gnome
# Start Hyprland on first session