Skip to content

Instantly share code, notes, and snippets.

View brandleesee's full-sized avatar
🇲🇹

Brandon Lee Camilleri brandleesee

🇲🇹
View GitHub Profile
@bneils
bneils / apt-remind.sh
Last active December 22, 2023 19:34
Notifies you to upgrade your OS
#!/bin/bash
### Checks the last APT upgrade and notifies if it was too long ago
# requires: libnotify-bin
NOTIF_DURATION=15000
UPGRADE_DAYS=7
notify() {