ntfy client config
This commit is contained in:
2
.config/ntfy/.env.example
Normal file
2
.config/ntfy/.env.example
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
NTFY_USER=USER
|
||||||
|
NTFY_PASSWORD=PASS
|
||||||
1
.config/ntfy/.gitignore
vendored
Normal file
1
.config/ntfy/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.env
|
||||||
4
.config/ntfy/client.yml
Normal file
4
.config/ntfy/client.yml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
default-host: https://ntfy.woopwoopserver.com
|
||||||
|
subscribe:
|
||||||
|
- topic: services_monitoring
|
||||||
|
command: 'notify-send -u critical "$topic" "$t\n$m"'
|
||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user