
using rofi and the browser-extended plugin to select a wallpaper for the system also made a random wallpaper script for the start of the system
11 lines
448 B
Bash
Executable file
11 lines
448 B
Bash
Executable file
#!/usr/bin/bash
|
|
|
|
function load_wp() {
|
|
# IMAGE=$(fd -e png -e jpg --base-directory "$HOME/.config/hypr/themes/luna/walls/" --type f . | shuf -n 1)
|
|
IMAGE=$(rofi -show file-browser-extended -theme ~/.config/rofi/style.rasi -file-browser-stdout -file-browser-dir $HOME/.config/hypr/themes/luna/walls/)
|
|
swww img --transition-type wipe --transition-pos top-right --transition-duration 3.8 --transition-step 255 "$IMAGE"
|
|
}
|
|
|
|
swww init
|
|
|
|
load_wp
|