mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-07 04:15:26 +00:00
Merge pull request #758 from Aerosnail/fix/efivarfs-audio-stutter
SystemStatService: don't report efivarfs usage% to avoid stutters
This commit is contained in:
@@ -92,9 +92,10 @@ Singleton {
|
|||||||
// --------------------------------------------
|
// --------------------------------------------
|
||||||
// Process to fetch disk usage in percent
|
// Process to fetch disk usage in percent
|
||||||
// Uses 'df' aka 'disk free'
|
// Uses 'df' aka 'disk free'
|
||||||
|
// "-x efivarfs' skips efivarfs mountpoints, for which the `statfs` syscall may cause system-wide stuttering
|
||||||
Process {
|
Process {
|
||||||
id: dfProcess
|
id: dfProcess
|
||||||
command: ["df", "--output=target,pcent"]
|
command: ["df", "--output=target,pcent", "-x", "efivarfs"]
|
||||||
running: false
|
running: false
|
||||||
stdout: StdioCollector {
|
stdout: StdioCollector {
|
||||||
onStreamFinished: {
|
onStreamFinished: {
|
||||||
|
|||||||
Reference in New Issue
Block a user