From 357d03198b01bc5e94ab86aa0789c4f24b73d0d3 Mon Sep 17 00:00:00 2001 From: joe Date: Sun, 9 Nov 2025 15:43:05 +0100 Subject: up --- .config/x11/xinitrc | 2 +- .local/bin/dmlog | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 0ea4b85..ba8a798 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -30,8 +30,8 @@ startif() { } dunst_shit() { - sleep 1 startif dunst + [ $host = "mother" ] && return sleep 2 startif lowbat } diff --git a/.local/bin/dmlog b/.local/bin/dmlog index a5f9b15..5b99d4f 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -95,7 +95,9 @@ sub action notify("g'night, partner!"); sleep 2; if (HOSTNAME eq 'mother') { - system('umount', '-f', '/var/dev/ceres'); + system(LOGINCTL_PATH, 'terminate-session', 'self'); + # system('umount', '-f', '/var/dev/ceres'); + sleep 2 exec(LOGINCTL_PATH, 'suspend'); } elsif (HOSTNAME eq 'po-rbo') { -- cgit v1.2.3