mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
SystemStatService: skip efivarfs to avoid stutters
This commit is contained in:
@@ -92,9 +92,10 @@ Singleton {
|
||||
// --------------------------------------------
|
||||
// Process to fetch disk usage in percent
|
||||
// Uses 'df' aka 'disk free'
|
||||
// "-x efivarfs' skips efivarfs mountpoints, for which the `statfs` syscall may cause system-wide stuttering
|
||||
Process {
|
||||
id: dfProcess
|
||||
command: ["df", "--output=target,pcent"]
|
||||
command: ["df", "--output=target,pcent", "-x", "efivarfs"]
|
||||
running: false
|
||||
stdout: StdioCollector {
|
||||
onStreamFinished: {
|
||||
|
||||
Reference in New Issue
Block a user