nixos-config/dotfiles/.shellrc

11 lines
354 B
Plaintext
Raw Permalink Normal View History

2024-04-26 15:26:18 +02:00
export XDG_DATA_HOME="$HOME/.local/share"
if [[ -n $SSH_CONNECTION ]] ; then
curl \
-H "Title: New SSH session" \
-H "Priority: urgent" \
-H "Tags: urgent" \
-d "$(cat /etc/hostname ): ssh session ($SSH_CONNECTION)" \
2024-04-27 13:56:15 +02:00
ntfy.sh/tasiaiso_alerts &> /dev/null # Please don't make me learn how to manage secrets
2024-04-26 15:26:18 +02:00
fi