From 6a7ff0678535dad087860f2a0189e13286ff3225 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Sun, 15 Sep 2024 02:21:37 -0700 Subject: [PATCH] build: add widgets module --- Justfile | 4 ++++ flake.lock | 8 ++++---- types/QtQuick.json | 5 +++++ 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/Justfile b/Justfile index 1db90a1..02f6a29 100644 --- a/Justfile +++ b/Justfile @@ -30,6 +30,8 @@ clean: rm -rf content/docs/types/Quickshell.Services.Notifications rm -rf data/modules/Quickshell.Hyprland rm -rf content/docs/types/Quickshell.Hyprland + rm -rf data/modules/Quickshell.Widgets + rm -rf content/docs/types/Quickshell.Widgets buildtypegen: ({{build_typegen}} && cd typegen && cargo build) || true @@ -48,6 +50,7 @@ typedocs: clean buildtypegen {{typegen_bin}} gentypes {{src_path}}/services/upower/module.md build/types/types/Quickshell.Services.UPower.json {{typegen_bin}} gentypes {{src_path}}/services/notifications/module.md build/types/types/Quickshell.Services.Notifications.json {{typegen_bin}} gentypes {{src_path}}/wayland/hyprland/module.md build/types/types/Quickshell.Hyprland.json + {{typegen_bin}} gentypes {{src_path}}/widgets/module.md build/types/types/Quickshell.Widgets.json sh -c '{{typegen_bin}} gendocs {{src_path}}/core/module.md data/modules/Quickshell content/docs/types/Quickshell types/* build/types/types/*' sh -c '{{typegen_bin}} gendocs {{src_path}}/io/module.md data/modules/Quickshell.Io content/docs/types/Quickshell.Io types/* build/types/types/*' sh -c '{{typegen_bin}} gendocs {{src_path}}/wayland/module.md data/modules/Quickshell.Wayland content/docs/types/Quickshell.Wayland types/* build/types/types/*' @@ -60,6 +63,7 @@ typedocs: clean buildtypegen sh -c '{{typegen_bin}} gendocs {{src_path}}/services/upower/module.md data/modules/Quickshell.Services.UPower content/docs/types/Quickshell.Services.UPower types/* build/types/types/*' sh -c '{{typegen_bin}} gendocs {{src_path}}/services/notifications/module.md data/modules/Quickshell.Services.Notifications content/docs/types/Quickshell.Services.Notifications types/* build/types/types/*' sh -c '{{typegen_bin}} gendocs {{src_path}}/wayland/hyprland/module.md data/modules/Quickshell.Hyprland content/docs/types/Quickshell.Hyprland types/* build/types/types/*' + sh -c '{{typegen_bin}} gendocs {{src_path}}/widgets/module.md data/modules/Quickshell.Widgets content/docs/types/Quickshell.Widgets types/* build/types/types/*' serve: typedocs hugo server --buildDrafts --disableFastRender diff --git a/flake.lock b/flake.lock index 10c019b..22b52a6 100644 --- a/flake.lock +++ b/flake.lock @@ -22,11 +22,11 @@ ] }, "locked": { - "lastModified": 1726220673, - "narHash": "sha256-TtmKMS1MOYiR04qg2vy2D240Sf+CFPR08C58xnbQIhE=", + "lastModified": 1726392226, + "narHash": "sha256-ewMrmR94Vx/Ip7MMH7BmiMbHgLabnW8CDlihJYvDmmc=", "ref": "refs/heads/master", - "rev": "5d52e0de1adc8eb816f4c66aa045639101c333c8", - "revCount": 336, + "rev": "01f2be057e3425064bcc5fa4cf657a534adfd992", + "revCount": 340, "type": "git", "url": "https://git.outfoxxed.me/outfoxxed/quickshell" }, diff --git a/types/QtQuick.json b/types/QtQuick.json index 5206be2..b799f19 100644 --- a/types/QtQuick.json +++ b/types/QtQuick.json @@ -104,6 +104,11 @@ "name": "Item", "cname": "QQuickItem", "module": "qml.QtQuick" + }, + { + "name": "Image", + "cname": "", + "module": "qml.QtQuick" } ], "classes": [],