mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-14 08:01:35 +09:00
12 lines
340 B
Bash
Executable File
12 lines
340 B
Bash
Executable File
#!/bin/bash
|
|
#wal_dir=~/ShareDirectory/wallpaper/idol/landscape/karina
|
|
#wal_dir=~/ShareDirectory/wallpaper/idol/portrait/karina
|
|
wal_dir=~/ShareDirectory/wallpaper/normal
|
|
|
|
|
|
export DISPLAY=192.168.144.1:10.0
|
|
files=($wal_dir/**/*)
|
|
randomfile=$(printf "%s\n" "${files[RANDOM % ${#files[@]}]}")
|
|
echo $randomfile
|
|
wal -i $randomfile --saturate 1.0
|