mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-02 12:18:41 -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
|