chore: compile styles via gresources, gicon support

started using gicon in application for custom icons support
This commit is contained in:
retrozinndev
2025-08-10 20:35:55 -03:00
parent 00be9787f8
commit 8bea6e1fab
7 changed files with 177 additions and 71 deletions
+6 -2
View File
@@ -3,14 +3,18 @@ import { Gtk } from "ags/gtk4";
import { Separator } from "../Separator";
import { Windows } from "../../windows";
import { Clipboard } from "../../scripts/clipboard";
import { decoder, getPlayerIconFromBusName, variableToBoolean } from "../../scripts/utils";
import GObject from "ags/gobject";
import AstalMpris from "gi://AstalMpris";
import Pango from "gi://Pango?version=1.0";
import { decoder, getPlayerIconFromBusName, variableToBoolean } from "../../scripts/utils";
export const dummyPlayer = AstalMpris.Player.new("colorshellDummy");
export const dummyPlayer = {
available: false,
busName: "dummy_player",
bus_name: "dummy_player"
} as AstalMpris.Player;
export let [player, setPlayer] = createState(dummyPlayer);
export const Media = () => {