🔧 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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user