From fd73f301d200964b77e531fe8324dc473b5ce0ac Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Tue, 17 Aug 2021 10:01:22 +0200 Subject: [PATCH] don't pause dunst when it's not running anyway --- local/bin/lock | 6 ++++++ local/bin/lock.sh | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) create mode 100755 local/bin/lock delete mode 100755 local/bin/lock.sh diff --git a/local/bin/lock b/local/bin/lock new file mode 100755 index 0000000..d05ba9d --- /dev/null +++ b/local/bin/lock @@ -0,0 +1,6 @@ +#!/bin/sh +{ + sleep 1 + xset dpms force off +} & +slock diff --git a/local/bin/lock.sh b/local/bin/lock.sh deleted file mode 100755 index f781ca5..0000000 --- a/local/bin/lock.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -{ - sleep 1 - xset dpms force off -} & -killall -SIGUSR1 dunst # pause -slock -killall -SIGUSR2 dunst # resume