3 things for running in sway. For i3, change?

This commit is contained in:
Sir 2nd Stage Boss Garbagetruck 2021-01-31 03:00:29 +02:00
parent 5dedfd1262
commit 041afcbee3
3 changed files with 17 additions and 0 deletions

5
randswaybg.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
for DISPLAY in $(swaymsg -t get_outputs -r | grep name | cut -d \" -f 4); do
PIC=$(find ~/pix | shuf | head -n 1)
swaybg --output "${DISPLAY}" -i "${PIC}" -m fill &
done