template gotify url

Amolith created

Change summary

dot_config/zsh/private_dot_zshrc.tmpl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

dot_config/zsh/private_dot_zshrc.tmpl 🔗

@@ -201,7 +201,7 @@ function gi() {
     curl -sLw https://www.toptal.com/developers/gitignore/api/$@ ;
 }
 function noti() {
-    curl 'https://notify.nixnet.services/message?token={{- .gotify_token -}}' -F "title=$1" -F "message=$2" -F "priority=4"
+    curl 'https://{{ .gotify_url }}/message?token={{- .gotify_token -}}' -F "title=$1" -F "message=$2" -F "priority=4"
 }
 # Hide the terminal when these apps are opened from a terminal
 function zathura() { devour zathura "$1" }