⚡ perf: remove unused module Xdp-1.0
This commit is contained in:
@@ -6,7 +6,6 @@ import { getSymbolicIcon } from "./apps";
|
|||||||
|
|
||||||
import GLib from "gi://GLib?version=2.0";
|
import GLib from "gi://GLib?version=2.0";
|
||||||
import Gio from "gi://Gio?version=2.0";
|
import Gio from "gi://Gio?version=2.0";
|
||||||
import Xdp from "gi://Xdp?version=1.0";
|
|
||||||
|
|
||||||
|
|
||||||
/** gnim doesn't export this, so we need to do it again */
|
/** gnim doesn't export this, so we need to do it again */
|
||||||
@@ -16,7 +15,6 @@ export const decoder = new TextDecoder("utf-8"),
|
|||||||
encoder = new TextEncoder();
|
encoder = new TextEncoder();
|
||||||
export const time = createPoll(GLib.DateTime.new_now_local(), 500, () =>
|
export const time = createPoll(GLib.DateTime.new_now_local(), 500, () =>
|
||||||
GLib.DateTime.new_now_local());
|
GLib.DateTime.new_now_local());
|
||||||
export const XdgPortal = Xdp.Portal.new();
|
|
||||||
|
|
||||||
export function getHyprlandInstanceSig(): (string|null) {
|
export function getHyprlandInstanceSig(): (string|null) {
|
||||||
return GLib.getenv("HYPRLAND_INSTANCE_SIGNATURE");
|
return GLib.getenv("HYPRLAND_INSTANCE_SIGNATURE");
|
||||||
|
|||||||
Reference in New Issue
Block a user