[feature] skip statusbar updation if screen were locked

This commit is contained in:
Klesh Wong 2020-10-12 23:44:31 +08:00
parent e7e390ee44
commit 21d7cffb05

View File

@ -2,6 +2,9 @@
function update
if pgrep slock
return
end
set -x text
if test -f /tmp/recording.pid
set text $text "🎥"