mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-01 11:48:41 -05:00
11 lines
258 B
Plaintext
11 lines
258 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
dir="$HOME/Pictures/Wallpapers"
|
||
|
list=$(/usr/bin/ls "$dir")
|
||
|
|
||
|
for i in $( swaymsg -t get_outputs | grep "name" | awk '{print $2}' | sed s/\"//g | sed s/,//g )
|
||
|
do
|
||
|
choice=$(echo "$list" | shuf -n 1)
|
||
|
swaymsg output "$i" bg "$dir/$choice" fill
|
||
|
done
|