yurihikari / garuda-sway-config

Themed dotfiles for Garuda Linux Sway + Hyprland
https://wiki.lightcrimson.com/en/garuda-sway-config
MIT License
293 stars 20 forks source link

How to set wallpaper? #4

Closed 6R1MR34P3R closed 7 months ago

6R1MR34P3R commented 8 months ago

Hi sorry if its a dumb question but I have no wallpaper and I dont get how to set up properly the wallpaper

yurihikari commented 8 months ago

Both sway and hyprland uses swaybg as wallpaper handler in my config.

You can manually set a wallpaper with

swaybg --output '*' --mode fill --image /path/to/your/wallpaper &

In the ~/.config/hypr/scripts/startup script and in the ~/.config/sway/config file.

If you use my config, there should be a script to switch between wallpapers you want without editing yourself the configs by using Meta+LeftShift+B. You just need to put the wallpapers you want inside the ~/.config/sway/backgrounds directory. If you want to change the wallpapers directory, go inside ~/.config/hypr/scripts/background and ~/.config/sway/scripts/background-swap.sh and replace the

BACKGROUND_DIR="$HOME/.config/sway/backgrounds"

line with

BACKGROUND_DIR="path/to/your/wallpapers/directory"
yurihikari commented 7 months ago

I'm closing that issue. If you still need help, I'll reopen it.