Initial commit of the Quickshell desktop suite: bar, dock, launcher, settings, Control Center, dashboard, OSD, lock screen, desktop widgets, plugin host with the vendored Noctalia/Omarchy compatibility layer, helpers, packaging, tests and phase documentation. Includes the optimization work so far: usage widgets and dashboard gauges no longer animate continuously, desktop widgets pause while covered, system controls stop flickering on background polls, dock app matching uses an indexed catalog, and workspace ghosts are created only for occupied slots. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 lines
532 B
QML
22 lines
532 B
QML
import QtQuick
|
|
import Quickshell
|
|
import qs.compat.noctalia.Commons
|
|
|
|
QtObject {
|
|
id: root
|
|
|
|
function migrate(adapter, logger, rawJson) {
|
|
logger.i("Migration46", "Removing legacy PAM configuration file");
|
|
|
|
const configDir = Settings.configDir;
|
|
const pamConfigDir = configDir + "pam";
|
|
// Remove the entire pam directory if it exists
|
|
const script = `rm -rf '${pamConfigDir}'`;
|
|
Quickshell.execDetached(["sh", "-c", script]);
|
|
|
|
logger.d("Migration46", "Cleaned up legacy PAM config");
|
|
|
|
return true;
|
|
}
|
|
}
|