forked from Shinonome/dots-hyprland
update api descs
This commit is contained in:
@@ -101,7 +101,10 @@ export const BooruSettings = () => MarginRevealer({
|
|||||||
ConfigToggle({
|
ConfigToggle({
|
||||||
icon: 'menstrual_health',
|
icon: 'menstrual_health',
|
||||||
name: 'Lewds',
|
name: 'Lewds',
|
||||||
desc: 'Shows naughty stuff when enabled',
|
desc: `Shows naughty stuff when enabled.\nYa like those? Add this to user_options.js:
|
||||||
|
'sidebar': {
|
||||||
|
'imageAllowNsfw': true,
|
||||||
|
},`,
|
||||||
initValue: BooruService.nsfw,
|
initValue: BooruService.nsfw,
|
||||||
onChange: (self, newValue) => {
|
onChange: (self, newValue) => {
|
||||||
BooruService.nsfw = newValue;
|
BooruService.nsfw = newValue;
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ const GeminiInfo = () => {
|
|||||||
Button({
|
Button({
|
||||||
className: 'txt-subtext txt-norm icon-material',
|
className: 'txt-subtext txt-norm icon-material',
|
||||||
label: 'info',
|
label: 'info',
|
||||||
tooltipText: 'Uses gemini-pro.\nNot affiliated, endorsed, or sponsored by Google.\n\nPrivacy: Google collects data for training by default.\nIf you mind, turn off Gemini Apps Activity in your account.',
|
tooltipText: 'Uses gemini-pro.\nNot affiliated, endorsed, or sponsored by Google.\n\nPrivacy: Chat messages aren\'t linked to your account,\n but will be read by human reviewers to improve the model.',
|
||||||
setup: setupCursorHoverInfo,
|
setup: setupCursorHoverInfo,
|
||||||
}),
|
}),
|
||||||
]
|
]
|
||||||
@@ -143,7 +143,8 @@ export const GoogleAiInstructions = () => Box({
|
|||||||
wrap: true,
|
wrap: true,
|
||||||
className: 'txt sidebar-chat-welcome-txt',
|
className: 'txt sidebar-chat-welcome-txt',
|
||||||
justify: Gtk.Justification.CENTER,
|
justify: Gtk.Justification.CENTER,
|
||||||
label: 'A Google AI API key is required\nYou can grab one <u>here</u>, then enter it below'
|
label: 'A Google AI API key is required\nYou can grab one <u>here</u>, then enter it below',
|
||||||
|
// setup: self => self.set_markup("This is a <a href=\"https://www.github.com\">test link</a>")
|
||||||
}),
|
}),
|
||||||
setup: setupCursorHover,
|
setup: setupCursorHover,
|
||||||
onClicked: () => {
|
onClicked: () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user