From 3f2e39bf8dd27702d708187eda4c04fa3d46fda7 Mon Sep 17 00:00:00 2001 From: Joe Date: Mon, 25 Jul 2022 10:27:32 +0200 Subject: compat --- .local/bin/dmlog | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/dmlog b/.local/bin/dmlog index 7749430..9be8cf6 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -3,12 +3,12 @@ use strict; use warnings; use constant { - SLOCK_PATH => '/usr/local/bin/slock', - ACPI_PATH => '/usr/sbin/acpiconf', - KILL_PATH => '/usr/bin/killall', - SHUTDOWN_PATH => '/sbin/shutdown', - NOTIF_PATH => '/usr/local/bin/notify-send', - EMACS_PATH => '/usr/local/bin/emacsclient' + SLOCK_PATH => 'slock', + ACPI_PATH => 'acpiconf', + KILL_PATH => 'killall', + SHUTDOWN_PATH => 'shutdown', + NOTIF_PATH => 'notify-send', + EMACS_PATH => 'emacsclient' }; use constant LIST => [ 'Lock screen', @@ -87,7 +87,7 @@ sub action ' Farewell, partner!' ); sleep 2; - exec(SHUTDOWN_PATH, '-p', 'now'); + exec(SHUTDOWN_PATH, '-h', 'now'); } } return; -- cgit v1.2.3