Doors/bin/doorsbg

16 lines
540 B
Text
Raw Normal View History

2023-02-03 04:08:44 -05:00
#! /bin/bash
2023-06-18 23:27:38 -04:00
# pick a random wallpaper and save a copy
wal -i ~/Pictures/Wallpapers &&
cp $(awk {print} ~/.cache/wal/wal) ~/.cache/wal/bg
2023-02-03 04:08:44 -05:00
2023-06-18 23:27:38 -04: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
2023-02-03 04:08:44 -05:00
2023-06-18 23:27:38 -04:00
# set wallpaper and reset waybar
2023-06-18 21:16:12 -04:00
swaybg -i ~/.cache/wal/bg &
killall waybar && waybar &