mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-29 02:38:37 -05:00
11 lines
258 B
Bash
Executable File
11 lines
258 B
Bash
Executable File
#!/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
|