Doors/bin/doorsbg
2023-12-28 04:30:12 -05:00

14 lines
564 B
Bash
Executable file

#! /bin/bash
# This is meant to be run by awesome with the set colors keybind,
# not by itself though it should work regardless
# Pick a random wallpaper and save a copy
wal -i ~/Pictures/Wallpapers
cp $(awk {print} ~/.cache/wal/wal) ~/.cache/wal/bg
# Update themes for other stuff it it exists
[[ -x "$(command -v pywalfox)" ]] && pywalfox update
[[ -x "$(command -v pywal-discord)" ]] && pywal-discord
[[ -x "$(command -v beautifuldiscord)" ]] && beautifuldiscord --css ~/.config/BetterDiscord/themes
[[ -x "$(command -v wal-telegram )" ]] && wal-telegram -g