[feature] skip statusbar updation if screen were locked
This commit is contained in:
parent
e7e390ee44
commit
21d7cffb05
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
|
|
||||||
function update
|
function update
|
||||||
|
if pgrep slock
|
||||||
|
return
|
||||||
|
end
|
||||||
set -x text
|
set -x text
|
||||||
if test -f /tmp/recording.pid
|
if test -f /tmp/recording.pid
|
||||||
set text $text "🎥"
|
set text $text "🎥"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user