Compare commits

...

2 commits

Author SHA1 Message Date
Leon Grünewald
30dbbf3052 Update ntfy 2024-02-22 11:58:13 +01:00
Leon Grünewald
ffe6698ac4 Fix up zsh config 2024-02-22 11:57:35 +01:00
3 changed files with 14 additions and 6 deletions

View file

@ -3,14 +3,14 @@
# Base URL used to expand short topic names in the "ntfy publish" and "ntfy subscribe" commands. # Base URL used to expand short topic names in the "ntfy publish" and "ntfy subscribe" commands.
# If you self-host a ntfy server, you'll likely want to change this. # If you self-host a ntfy server, you'll likely want to change this.
# #
default-host: https://captainhal.ddns.net:20001 default-host: https://ntfy.413.one
# Default username and password will be used with "ntfy publish" if no credentials are provided on command line # Default username and password will be used with "ntfy publish" if no credentials are provided on command line
# Default username and password will be used with "ntfy subscribe" if no credentials are provided in subscription below # Default username and password will be used with "ntfy subscribe" if no credentials are provided in subscription below
# For an empty password, use empty double-quotes ("") # For an empty password, use empty double-quotes ("")
# #
default-user: dhalucario default-user: leon
default-password: GYKkwdGLRxU4Nm default-password: 1bims
# Default command will execute after "ntfy subscribe" receives a message if no command is provided in subscription below # Default command will execute after "ntfy subscribe" receives a message if no command is provided in subscription below
# default-command: # default-command:
@ -48,5 +48,9 @@ default-password: GYKkwdGLRxU4Nm
# and 'tags' (comma-separated list, logical AND). See https://ntfy.sh/docs/subscribe/api/#filter-messages. # and 'tags' (comma-separated list, logical AND). See https://ntfy.sh/docs/subscribe/api/#filter-messages.
# #
subscribe: subscribe:
- topic: dhalucario-general - topic: 'leon-services'
command: 'notify-send "$m"' command: 'notify-send "$t" "$m"'
- topic: 'bonmercato-alerts'
command: 'notify-send "$t" "$m"'
- topic: 'bonmercato-imports'
command: 'notify-send "$t" "$m"'

View file

@ -15,3 +15,5 @@ fi
if [[ $(uname -s) != "Darwin" ]]; then if [[ $(uname -s) != "Darwin" ]]; then
alias open="xdg-open" alias open="xdg-open"
fi fi
alias kubectl="minikube kubectl --"

View file

@ -22,8 +22,10 @@ if [ -n "$(command -v ruby)" ] && [ -n "$(command -v gem)" ]; then
PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH" PATH="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin:$PATH"
fi fi
[[ ! -r $HOME/.cargo/env ]] || source $HOME/.cargo/env > /dev/null 2> /dev/null
# pnpm # pnpm
export PNPM_HOME="/home/dhalucario/.local/share/pnpm" export PNPM_HOME="$HOME/.local/share/pnpm"
case ":$PATH:" in case ":$PATH:" in
*":$PNPM_HOME:"*) ;; *":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;; *) export PATH="$PNPM_HOME:$PATH" ;;