From b8316dc0f355ccf87b9c6761578a5a071af865dd Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 2 Sep 2023 18:58:20 +0200 Subject: send-package: Remove it all --- .config/systemd/user/send-package.service | 10 ---------- .config/systemd/user/send-package.timer | 9 --------- .local/bin/send-package | 13 ------------- .local/share/send-package/template | 7 ------- 4 files changed, 39 deletions(-) delete mode 100644 .config/systemd/user/send-package.service delete mode 100644 .config/systemd/user/send-package.timer delete mode 100755 .local/bin/send-package delete mode 100644 .local/share/send-package/template diff --git a/.config/systemd/user/send-package.service b/.config/systemd/user/send-package.service deleted file mode 100644 index 3f26550..0000000 --- a/.config/systemd/user/send-package.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Do Not Ask - -[Service] -Type=oneshot -ExecStart=/home/thomas/.local/bin/send-package -Environment=PATH=/home/thomas/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin - -[Install] -WantedBy=default.target diff --git a/.config/systemd/user/send-package.timer b/.config/systemd/user/send-package.timer deleted file mode 100644 index 4f8bcc6..0000000 --- a/.config/systemd/user/send-package.timer +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Do Not Ask - -[Timer] -OnCalendar=daily -Persistent=true - -[Install] -WantedBy=timers.target diff --git a/.local/bin/send-package b/.local/bin/send-package deleted file mode 100755 index 8c807bd..0000000 --- a/.local/bin/send-package +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -# Why not? - -readonly tmpl="${XDG_DATA_HOME:-$HOME/.local/share}/send-package/template" - -sed -En '/^Angel Cakes/,/^Doozies/s/(\t|\s{2,})/\n/gp' ~/doc/tit-names \ -| shuf -n1 \ -| tr A-Z a-z \ -| xargs -I{} -- \ - sed -e "1iTo: `vlt raw Miscellaneous send-package-to`" \ - -e 's/$REPLACEME/{}/' "$tmpl" \ -| smail diff --git a/.local/share/send-package/template b/.local/share/send-package/template deleted file mode 100644 index c92b73d..0000000 --- a/.local/share/send-package/template +++ /dev/null @@ -1,7 +0,0 @@ -From: Thomas Voss -Subject: Dear Dearest Girlfriend - -I just wanted to let you know, that I really like your $REPLACEME. - -Most Sincere Regards, -Thomas ‘Student of Biology’ Voss -- cgit v1.2.3