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