Skip to content

Commit 54f1885

Browse files
authored
Merge branch 'main' into vertical-lyrics-fetch
2 parents c377bfd + f7c929d commit 54f1885

139 files changed

Lines changed: 12096 additions & 369 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@
1111
# OS
1212
.DS_Store
1313
Thumbs.db
14+
15+
# AI / agents
16+
CLAUDE.local.md

arch-updater/Panel.qml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,24 @@ Item {
3434
}
3535
spacing: Style.marginL
3636

37+
RowLayout {
38+
visible: pluginApi.pluginSettings.closeButton ?? pluginApi.manifest.metadata.defaultSettings.closeButton
39+
NText {
40+
Layout.fillWidth: true
41+
text: pluginApi?.tr("panel.title")
42+
pointSize: Style.fontSizeXL
43+
font.weight: Font.Bold
44+
color: Color.mOnSurface
45+
horizontalAlignment: Text.AlignHCenter
46+
}
47+
NIconButton {
48+
icon: "close"
49+
onClicked: {
50+
pluginApi.closePanel(pluginApi.panelOpenScreen)
51+
}
52+
}
53+
}
54+
3755
// Header
3856
RowLayout {
3957
Layout.fillWidth: true

arch-updater/Settings.qml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ ColumnLayout {
3232
// Hide the bar widget when there are no updates
3333
property bool hideOnEmpty: pluginApi.pluginSettings.hideOnEmpty ?? pluginApi.manifest.metadata.defaultSettings.hideOnEmpty
3434

35+
// Show close button in panel
36+
property bool closeButton: pluginApi.pluginSettings.closeButton ?? pluginApi.manifest.metadata.defaultSettings.closeButton
37+
3538
// Refresh after time intervals
3639
property bool refreshTimer: pluginApi.pluginSettings.refreshTimer ?? pluginApi.manifest.metadata.defaultSettings.refreshTimer
3740

@@ -189,6 +192,26 @@ ColumnLayout {
189192
}
190193
}
191194

195+
NDivider {
196+
Layout.fillWidth: true
197+
Layout.topMargin: Style.marginS
198+
Layout.bottomMargin: Style.marginS
199+
}
200+
201+
// Close Button Toggle
202+
Item {
203+
Layout.fillWidth: true
204+
Layout.preferredHeight: closeButtonToggle.implicitHeight
205+
NToggle {
206+
id: closeButtonToggle
207+
anchors.fill: parent
208+
label: pluginApi.tr("settings.closeButton")
209+
description: pluginApi.tr("settings.closeButtonDesc")
210+
checked: root.closeButton
211+
onToggled: checked => root.closeButton = checked
212+
}
213+
}
214+
192215
NDivider {
193216
Layout.fillWidth: true
194217
Layout.topMargin: Style.marginS
@@ -438,6 +461,7 @@ ColumnLayout {
438461
pluginApi.pluginSettings.toast = root.toast
439462
pluginApi.pluginSettings.desktopTip = root.desktopTip
440463
pluginApi.pluginSettings.hideOnEmpty = root.hideOnEmpty
464+
pluginApi.pluginSettings.closeButton = root.closeButton
441465
pluginApi.pluginSettings.refreshTimer = root.refreshTimer
442466

443467
pluginApi.pluginSettings.refreshInterval = root.refreshInterval

arch-updater/i18n/en.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"settings": "Settings"
1010
},
1111
"panel": {
12+
"title": "Arch Updater",
1213
"name": "Name",
1314
"oldVer": "Old Version",
1415
"newVer": "New Version",
@@ -37,6 +38,8 @@
3738
"desktopTipDesc": "Enable hover tip for desktop widget",
3839
"hideOnEmpty": "Hide on empty",
3940
"hideOnEmptyDesc": "Hide if no updates are available",
41+
"closeButton": "Close Button",
42+
"closeButtonDesc": "Show close button in the panel",
4043
"refreshTimer": "Refresh timer",
4144
"refreshTimerDesc": "Refresh on a timer",
4245
"interval": "Refresh interval",

arch-updater/manifest.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "arch-updater",
33
"name": "Arch Updater",
4-
"version": "1.2.1",
4+
"version": "1.2.2",
55
"minNoctaliaVersion": "3.6.0",
66
"author": "Ast",
77
"license": "MIT",
@@ -38,7 +38,8 @@
3838
"enableColorization": false,
3939
"iconColor": "none",
4040
"boldVer": true,
41-
"tooltip": true
41+
"tooltip": true,
42+
"closeButton": false
4243
}
4344
}
4445
}

arch-updater/preview.png

283 KB
Loading

asus-um5606-fan-state/i18n/fr.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"tooltip": {
3+
"standard": "Standard",
4+
"quiet": "Silencieux",
5+
"high": "Haute Performance",
6+
"full": "Plein",
7+
"unknown": "Inconnu"
8+
}
9+
}

asus-um5606-fan-state/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "asus-um5606-fan-state",
33
"name": "ASUS UM5606 Fan State",
4-
"version": "1.1.6",
4+
"version": "1.1.7",
55
"minNoctaliaVersion": "3.6.0",
66
"author": "ThatOneCalculator",
77
"license": "MIT",

0 commit comments

Comments
 (0)