mirror of
https://github.com/rywng/dotfiles.git
synced 2024-10-30 23:51:51 +08:00
14 lines
330 B
Bash
14 lines
330 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
export PATH="${PATH}:${HOME}/.local/bin"
|
||
|
export XDG_RUNTIME_DIR=/run/user/1000
|
||
|
export XDG_CACHE_HOME=$HOME/.cache
|
||
|
|
||
|
if ! pidof swww-daemon > /dev/null
|
||
|
then
|
||
|
swww init
|
||
|
exit
|
||
|
fi
|
||
|
|
||
|
swww img $(find -L ~/.config/sway/Wallpaper/ -type f | shuf -n1) -t wave --transition-fps 60 --transition-duration 5 --transition-wave 16,16
|