Doors/bin/doorsbg

12 lines
469 B
Text
Raw Normal View History

#!/bin/sh
2023-02-03 04:08:44 -05:00
# Pick a random wallpaper and save a copy
wal -qi ~/Pictures/Wallpapers &&
cp "$(awk "{print}" "$HOME/.cache/wal/wal")" ~/.cache/wal/bg &&
2023-02-03 04:08:44 -05:00
# 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) &