Doors/bin/doorsbg

15 lines
578 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
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
2024-01-01 03:37:37 -05: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 &