3 things for running in sway. For i3, change?
This commit is contained in:
parent
5dedfd1262
commit
041afcbee3
3 changed files with 17 additions and 0 deletions
5
randswaybg.sh
Executable file
5
randswaybg.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue