.s/scripts/theme/hooks/discord.sh
2025-01-02 18:00:17 -08:00

12 lines
508 B
Bash
Executable File

#!/bin/bash
OLD_THEME=$1
NEW_THEME=$2
if [ $NEW_THEME = "dark" ]; then
# 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"
else
echo '@import url("https://betterdiscord.app/Download?id=177");' > "$HOME/Library/Application Support/BetterDiscord/data/stable/custom.css"
fi