summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoe <rbo@gmx.us>2025-11-09 15:43:05 +0100
committerjoe <rbo@gmx.us>2025-11-09 15:43:05 +0100
commit357d03198b01bc5e94ab86aa0789c4f24b73d0d3 (patch)
treec8413c03cbeb3cb96cb80e133294d605078a2008
parentnicer picom (diff)
downloaddotfiles-bsd-357d03198b01bc5e94ab86aa0789c4f24b73d0d3.tar.gz
dotfiles-bsd-357d03198b01bc5e94ab86aa0789c4f24b73d0d3.tar.bz2
dotfiles-bsd-357d03198b01bc5e94ab86aa0789c4f24b73d0d3.tar.xz
dotfiles-bsd-357d03198b01bc5e94ab86aa0789c4f24b73d0d3.tar.zst
dotfiles-bsd-357d03198b01bc5e94ab86aa0789c4f24b73d0d3.zip
up
-rw-r--r--.config/x11/xinitrc2
-rwxr-xr-x.local/bin/dmlog4
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') {