🔧 chore: general improvements

- save night light filter data in `userData`
- better click detection in control center tiles
- continue development of the native polkit agent
- start night light module on shell init, drop hyprsunset scripts
This commit is contained in:
retrozinndev
2025-09-26 22:23:45 -03:00
parent 30e0f24a86
commit e1a3e654be
10 changed files with 240 additions and 93 deletions
+4
View File
@@ -35,6 +35,7 @@ import GObject, { register } from "ags/gobject";
import GLib from "gi://GLib?version=2.0";
import Gio from "gi://Gio?version=2.0";
import Adw from "gi://Adw?version=1";
import { NightLight } from "./modules/nightlight";
const runnerPlugins: Array<Runner.Plugin> = [
@@ -73,6 +74,7 @@ export class Shell extends Adw.Application {
});
setConsoleLogDomain("colorshell");
GLib.set_application_name("colorshell");
}
public static getDefault(): Shell {
@@ -274,6 +276,8 @@ you should use the socket in the XDG_RUNTIME_DIR/colorshell.sock for a faster re
this.#connections.set(this, this.connect("shutdown", () => dispose()));
this.#scope = getScope();
NightLight.getDefault();
initPlayer();
Clipboard.getDefault();