Enabled prop should be used in favour of general.excludedScreens. The latter has been removed
15 lines
346 B
QML
15 lines
346 B
QML
pragma Singleton
|
|
|
|
import Quickshell
|
|
import Caelestia.Config
|
|
import qs.utils
|
|
|
|
Singleton {
|
|
id: root
|
|
|
|
readonly property list<ShellScreen> screens: Quickshell.screens.filter(s => GlobalConfig.forScreen(s.name).enabled)
|
|
|
|
function isExcluded(screen: ShellScreen): bool {
|
|
return !GlobalConfig.forScreen(screen.name).enabled;
|
|
}
|
|
}
|