Doors/bin/doorsbg
2024-01-11 02:29:29 -05:00

11 lines
471 B
Bash
Executable file

#!/bin/sh
# Pick a random wallpaper and save a copy
wal -esqi ~/Pictures/Wallpapers &&
cp "$(awk "{print}" "$HOME/.cache/wal/wal")" ~/.cache/wal/bg &&
# Update themes for other stuff it it exists
([ -x "$(command -v pywalfox)" ] && pywalfox update &
[ -x "$(command -v wal-telegram )" ] && wal-telegram -g &
[ -x "$(command -v pywal-discord)" ] && pywal-discord &&
[ -x "$(command -v beautifuldiscord)" ] && beautifuldiscord --css ~/.config/BetterDiscord/themes) &