NightLight: check if wlsunset exists, else dont enable NightLight

SystemMonitorSettings: If RAM usage is not toggled, don't show % option
Settings: remove NightLight from default bar widgets
This commit is contained in:
Ly-sec
2025-09-27 15:14:44 +02:00
parent 13e32dc11b
commit fe2654268d
5 changed files with 13 additions and 9 deletions
+3 -1
View File
@@ -18,6 +18,7 @@ Singleton {
property bool fuzzelAvailable: false
property bool vesktopAvailable: false
property bool gpuScreenRecorderAvailable: false
property bool wlsunsetAvailable: false
// Signal emitted when all checks are complete
signal checksCompleted
@@ -31,7 +32,8 @@ Singleton {
"footAvailable": ["which", "foot"],
"fuzzelAvailable": ["which", "fuzzel"],
"vesktopAvailable": ["which", "vesktop"],
"gpuScreenRecorderAvailable": ["sh", "-c", "command -v gpu-screen-recorder >/dev/null 2>&1 || (command -v flatpak >/dev/null 2>&1 && flatpak list --app | grep -q 'com.dec05eba.gpu_screen_recorder')"]
"gpuScreenRecorderAvailable": ["sh", "-c", "command -v gpu-screen-recorder >/dev/null 2>&1 || (command -v flatpak >/dev/null 2>&1 && flatpak list --app | grep -q 'com.dec05eba.gpu_screen_recorder')"],
"wlsunsetAvailable": ["which", "wlsunset"]
})
// Internal tracking