nofap-tracker


SUBMITTED BY: Guest

DATE: June 14, 2024, 1:43 a.m.

FORMAT: Text only

SIZE: 534 Bytes

HITS: 313

  1. nofap-tracker() {
  2. if [ -z "$1" ]; then
  3. echo -n "Last served Satan, the NWO, and repulsive digusting filthy whores" $(datediff $(date -u -d @$(date "+%s" -d "$(< ~/nofap-date)") +"%Y-%m-%dT%H:%M:%S") now -f '%d days, %H hours, %M minutes ago.')
  4. echo " ($(< ~/nofap-date))" ;
  5. elif [ $1 == "-set" ] && [ $# -gt 1 ]; then
  6. echo -n $(date +"%A, %B %e %Y %l:%M %P %Z" -d "$(echo "${@:2}")") > ~/nofap-date
  7. chflags hidden ~/nofap-date
  8. echo "Date set to: $(< ~/nofap-date)" ;
  9. fi
  10. }

comments powered by Disqus