mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Control backgrounds and be able to cycle through them
This commit is contained in:
@ -26,8 +26,8 @@ source = ~/.local/share/omarchy/default/hypr/envs.conf
|
|||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
exec-once = hypridle & swaync & waybar
|
exec-once = hypridle & swaync & waybar
|
||||||
|
|
||||||
# Set a random image from ~/.local/share/backgrounds as the background
|
# Control backgrounds
|
||||||
exec-once = swaybg -i $(find ~/.local/share/backgrounds/ -type f -print0 | shuf -zn1 | xargs -0 printf '%s\n')
|
source = ~/.local/share/omarchy/default/hypr/backgrounds.conf
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
### LOOK AND FEEL ###
|
### LOOK AND FEEL ###
|
||||||
|
4
default/hypr/backgrounds.conf
Normal file
4
default/hypr/backgrounds.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Set a random image from ~/.local/share/backgrounds as the background
|
||||||
|
# Picks another random background on SUPER + CTRL + SPACE
|
||||||
|
exec-once = swaybg -i $(find ~/.local/share/backgrounds/ -type f -print0 | shuf -zn1 | xargs -0 printf '%s\n')
|
||||||
|
bind = SUPER CTRL, SPACE, exec, pkill -x swaybg && setsid swaybg -i $(find ~/.local/share/backgrounds/ -type f -print0 | shuf -zn1 | xargs -0 printf '%s\n')
|
@ -1,2 +1,5 @@
|
|||||||
# Prefer dark mode everything
|
# Prefer dark mode everything
|
||||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||||
|
|
||||||
|
# Download first background
|
||||||
|
curl -sL -o ~/.local/share/backgrounds/Milad-Fakurian-Abstract-Purple-Blue.jpg https://unsplash.com/photos/u8Jn2rzYIps/download?ixid=M3wxMjA3fDB8MXxzZWFyY2h8Mnx8YWJzdHJhY3QlMjB3YWxscGFwZXJ8ZW58MHx8fHwxNzQ5Mjc5ODk1fDA
|
||||||
|
Reference in New Issue
Block a user