From 21d7cffb0532349ac9260056d6d82ebf3921c379 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Mon, 12 Oct 2020 23:44:31 +0800 Subject: [PATCH] [feature] skip statusbar updation if screen were locked --- suckless/config/dwm/dwmbar | 3 +++ 1 file changed, 3 insertions(+) diff --git a/suckless/config/dwm/dwmbar b/suckless/config/dwm/dwmbar index ab0a021..a4915a4 100755 --- a/suckless/config/dwm/dwmbar +++ b/suckless/config/dwm/dwmbar @@ -2,6 +2,9 @@ function update + if pgrep slock + return + end set -x text if test -f /tmp/recording.pid set text $text "🎥"