From 12c85551403b903e405868705a0d4367ebee13f4 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Sat, 23 Aug 2025 17:45:01 -0700 Subject: [PATCH] New backup 2025-08-23 17:45:01 --- de/home/.librewolf/profiles.ini | 12 +++++++----- de/home/.local/bin/uptime-check | 5 +++++ de/include | 1 + 3 files changed, 13 insertions(+), 5 deletions(-) create mode 100755 de/home/.local/bin/uptime-check diff --git a/de/home/.librewolf/profiles.ini b/de/home/.librewolf/profiles.ini index 89e9dbd..442953a 100644 --- a/de/home/.librewolf/profiles.ini +++ b/de/home/.librewolf/profiles.ini @@ -17,16 +17,13 @@ Name=Penelope IsRelative=1 Path=penelope Default=1 +StoreID=0585997e +ShowSelector=1 [General] StartWithLastProfile=1 Version=2 -[Profile4] -Name=testing -IsRelative=1 -Path=4z689ygf.testing - [Install6C4726F70D182CF7] Default=penelope Locked=1 @@ -36,3 +33,8 @@ Name=School IsRelative=1 Path=school +[Profile4] +Name=testing +IsRelative=1 +Path=4z689ygf.testing + diff --git a/de/home/.local/bin/uptime-check b/de/home/.local/bin/uptime-check new file mode 100755 index 0000000..4453b90 --- /dev/null +++ b/de/home/.local/bin/uptime-check @@ -0,0 +1,5 @@ +#!/bin/bash + +if awk '{ exit ($1 < (72 * 3600)) }' /proc/uptime; then + notify-send "Reboot soon!" "system uptime is $(uptime -p | cut -d ' ' -f2-)" +fi diff --git a/de/include b/de/include index 6593b82..8010670 100644 --- a/de/include +++ b/de/include @@ -52,3 +52,4 @@ .config/menus/applications.menu .config/worf .config/xdg-desktop-portal/portals.conf +.local/bin/uptime-check