Add IPC for screenRecorder toggle

This commit is contained in:
Ly-sec 2025-08-26 15:48:41 +02:00
parent 7379bcb5b6
commit 9ee31e3a6a
4 changed files with 19 additions and 0 deletions

View file

@ -2,6 +2,7 @@ pragma Singleton
import QtQuick
import Quickshell
import qs.Services
Singleton {
id: icons
@ -41,4 +42,13 @@ Singleton {
return iconFromName(fallback, fallback)
}
}
// Distro logo helper (absolute path or empty string)
function distroLogoPath() {
try {
return (typeof OSInfo !== 'undefined' && OSInfo.distroIconPath) ? OSInfo.distroIconPath : ""
} catch (e) {
return ""
}
}
}