sh: read state file directly instead of parsing cfg

This commit is contained in:
Levi Neely 2026-05-08 14:55:35 +02:00
parent 284f1969d8
commit b07fcec765
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ fn cfg_get {
}
fn is_idle {
~ `{cfg_get state} idle
~ `{cat $S/state >[2]/dev/null} idle
}
fn show_new {