diff --git a/i3/.config/i3/config.d/assign.conf b/i3/.config/i3/config.d/assign.conf index df7152c..b022994 100644 --- a/i3/.config/i3/config.d/assign.conf +++ b/i3/.config/i3/config.d/assign.conf @@ -23,4 +23,4 @@ assign [class="Spotify"] $ws9 assign [class="keepass"] $ws9 for_window [class="Alert"] floating enable -for_window [class="dunst"] floating enable \ No newline at end of file +for_window [class="dunst"] floating enable diff --git a/ntfy/.config/ntfy/client.yml b/ntfy/.config/ntfy/client.yml new file mode 100644 index 0000000..30318fb --- /dev/null +++ b/ntfy/.config/ntfy/client.yml @@ -0,0 +1,7 @@ +subscribe: +- topic: echo-this + command: 'echo "Message received: $message"' +- topic: monitoring + command: dunstify-i /usr/share/ntfy/logo.png "Important" -a "${NTFY_TITLE}" -u "${NTFY_TITLE}" "${NTFY_MESSAGE}" + if: + priority: high,urgent \ No newline at end of file diff --git a/setup.sh b/setup.sh index d1ba645..a544ba2 100755 --- a/setup.sh +++ b/setup.sh @@ -16,6 +16,7 @@ base=( htop i3 nano + ntfy nix polybar puppet