Commit 1e912443 authored by nimrod's avatar nimrod
Browse files

Spammer.

Spamer script, desktop file and symlink for autostart.
parent 37929c8f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
../../.local/share/applications/spammer.desktop
 No newline at end of file
+8 −0
Original line number Diff line number Diff line
[Desktop Entry]
Name[en_US]=Spammer
Comment[en_US]=Spam Nimrod
Exec=/home/nimrod/Documents/bin/spammer
Icon=internet-chat-symbolic.svg
X-GNOME-Autostart-enabled=true
Type=Application
NoDisplay=true

Documents/bin/spammer

0 → 100755
+14 −0
Original line number Diff line number Diff line
#!/bin/sh
set -eu

while true
do
    # Backoff in case of an error.
    if ! notify-send \
        --urgency low \
        --hint "string:desktop-entry:spammer" \
        "$(curl --silent https://patchbay.pub/pubsub/1446c969-9a54-4b5b-83e0-bf88f22f289d)"
    then
        sleep 1
    fi
done