commit a1013f36e1460de5121d3d75444bd7724e6d0b6f parent 62cdb77dfe8c1f807e27015681508d6b5e9ff08f Author: awy <awy@awy.one> Date: Thu, 20 Mar 2025 16:02:44 +0300 agnostic Diffstat:
M | .local/bin/cron/checkup | | | 2 | +- |
M | .local/bin/cron/newsup | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.local/bin/cron/checkup b/.local/bin/cron/checkup @@ -4,7 +4,7 @@ pid=$(pgrep -x Hyprland) var="DBUS_SESSION_BUS_ADDRESS" -export DBUS_SESSION_BUS_ADDRESS=$(doas grep -E -z "$var" "/proc/$pid/environ" | sed 's/DBUS_SESSION_BUS_ADDRESS=//') +export DBUS_SESSION_BUS_ADDRESS=$(grep -E -z "$var" "/proc/$pid/environ" | sed 's/DBUS_SESSION_BUS_ADDRESS=//') notify-send "📦 Repository Sync" "Checking for package updates..." diff --git a/.local/bin/cron/newsup b/.local/bin/cron/newsup @@ -4,7 +4,7 @@ # If newsboat is open, sends it an "R" key to refresh. pid=$(pgrep -x Hyprland) var="DBUS_SESSION_BUS_ADDRESS" -export DBUS_SESSION_BUS_ADDRESS=$(doas grep -E -z "$var" "/proc/$pid/environ" | sed 's/DBUS_SESSION_BUS_ADDRESS=//') +export DBUS_SESSION_BUS_ADDRESS=$(grep -E -z "$var" "/proc/$pid/environ" | sed 's/DBUS_SESSION_BUS_ADDRESS=//') /usr/bin/notify-send "📰 Updating RSS feeds..."