package chandra:desktop@0.1.0; /// Minimum every widget gets: theme tokens. Everything else is opt-in. world widget { import theme; export plasmoid; } world clock-widget { include widget; import clock; } world launcher-widget { include widget; import app-catalog; import app-launch; } world panel { import theme; export panel-layout; } /// Reference shell: panel + desktop background in one component. world shell { import theme; export desktop-surface; export panel-layout; } /// Desktop Pulse: reads machine state and the window list, and can raise a window. world pulse-widget { include widget; import system; import windows; } /// Panel task list: needs the window list. world taskbar-widget { include widget; import windows; } /// Layout switcher. world layout-widget { include widget; import layout-control; } /// Interface Explorer toggle. world inspector-widget { include widget; import inspector; } /// Everything a panel module can be granted. The native host instantiates any module against this /// one world (a module simply imports the subset it uses) and serves each import from the data the /// compositor publishes (wit/host/plasmoids.wit). world plasmoid-host { import theme; import clock; import app-catalog; import app-launch; import windows; import layout-control; import inspector; import modules; import system; import session; import wallpaper; import session-settings; export plasmoid; } /// Logout button. world logout-widget { include widget; import session; } /// The settings module: session switches (restore, window places, dark mode), the wallpaper, and /// the panel's modules (load, unload, browse); the panel menu's "Modules..." opens that tab. world session-settings-widget { include widget; import session-settings; import wallpaper; import modules; }