.s/scripts/theme/hooks/discord.sh

12 lines
508 B
Bash
Raw Normal View History

2024-05-27 16:57:39 -04:00
#!/bin/bash
OLD_THEME=$1
NEW_THEME=$2
if [ $NEW_THEME = "dark" ]; then
2025-01-02 21:00:17 -05:00
# echo '@import url("https://betterdiscord.app/Download?id=507");' > "$HOME/Library/Application Support/BetterDiscord/data/stable/custom.css"
echo '@import url("https://betterdiscord.app/Download?id=177");' > "$HOME/Library/Application Support/BetterDiscord/data/stable/custom.css"
2024-05-27 16:57:39 -04:00
else
2025-01-02 21:00:17 -05:00
echo '@import url("https://betterdiscord.app/Download?id=177");' > "$HOME/Library/Application Support/BetterDiscord/data/stable/custom.css"
2024-05-27 16:57:39 -04:00
fi