Doors/bin/doorsbg

16 lines
606 B
Text
Raw Normal View History

2023-02-03 04:08:44 -05:00
#! /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
2023-12-30 22:54:44 -05:00
# Leave these &&s to prevent a race
wal -i ~/Pictures/Wallpapers &&
cp $(awk {print} ~/.cache/wal/wal) ~/.cache/wal/bg &&
2023-02-03 04:08:44 -05:00
# Update themes for other stuff it it exists
2023-06-19 21:05:44 -04:00
[[ -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