ntfy client config

This commit is contained in:
2025-03-29 21:58:17 +05:00
parent de929892e1
commit 28b97f2172
4 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,2 @@
NTFY_USER=USER
NTFY_PASSWORD=PASS

1
.config/ntfy/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.env

4
.config/ntfy/client.yml Normal file
View File

@ -0,0 +1,4 @@
default-host: https://ntfy.woopwoopserver.com
subscribe:
- topic: services_monitoring
command: 'notify-send -u critical "$topic" "$t\n$m"'

View File

@ -168,6 +168,9 @@ bindsym --to-code --locked XF86AudioPrev exec playerctl previous
# special key to take a screenshot with grim # special key to take a screenshot with grim
bindsym --to-code $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy bindsym --to-code $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
# subscribe to ntfy notifications
exec ~/Scripts/ntfy/ntfy_subscribe.sh &
# try to make DP-2 monitor primary for xwayland apps # try to make DP-2 monitor primary for xwayland apps
exec xrandr --output DP-2 --primary exec xrandr --output DP-2 --primary
exec_always sleep 10s && xrandr --output DP-2 --primary exec_always sleep 10s && xrandr --output DP-2 --primary