diff --git a/motds/Makefile.am b/motds/Makefile.am index 5e34b42..8e4fc86 100644 --- a/motds/Makefile.am +++ b/motds/Makefile.am @@ -69,3 +69,5 @@ motd: @echo "" >> motd @echo "Report issues at https://termux.dev/issues" >> motd + @echo -e "\x1b[1m\x1b[35mTermux needs your help! Donations help fund development and infrastructure import for Termux's continued existence\x1b[0m" >> motd + @echo -e "\x1b[1mConsider donating at \x1b[34mhttps://termux.dev/en/donate\x1b[0m" >> motd diff --git a/motds/motd.sh.in b/motds/motd.sh.in index 1a76844..89f4839 100644 --- a/motds/motd.sh.in +++ b/motds/motd.sh.in @@ -24,8 +24,12 @@ else \e[1mWelcome to Termux!\e[0m \e[1mDocs:\e[0m \e[4mhttps://termux.dev/docs\e[0m -\e[1mDonate:\e[0m \e[4mhttps://termux.dev/donate\e[0m -\e[1mCommunity:\e[0m \e[4mhttps://termux.dev/community\e[0m +" + if [ "$(date +%m)" != "12" ]; then + motd+="\e[1mDonate:\e[0m \e[4mhttps://termux.dev/donate\e[0m +" + fi + motd+="\e[1mCommunity:\e[0m \e[4mhttps://termux.dev/community\e[0m \e[1mTermux version:\e[0m ${TERMUX_VERSION-Unknown} " @@ -58,4 +62,13 @@ motd+=" ${motd_indent}Report issues at \e[4mhttps://termux.dev/issues\e[0m " +if [ "$(date +%m)" = "12" ]; then + + motd+=" +\e[1m\e[31mTermux needs your help! Donations help fund development and infrastructure import for Termux's continued existence\e[0m +\e[1mConsider donating at \e[34mhttps://termux.dev/en/donate\e[0m +" + +fi + echo -e "$motd"