Add workspace app icon side-effects and add wiki link for settings. (#387)

* Add side-effect for app icons for workspaces and udated mpris types.

* Add links to workspace icon toggles.

* Add subtitle
This commit is contained in:
Jas Singh
2024-10-28 00:03:28 -07:00
committed by GitHub
parent 4e2a774c7e
commit 5bc1c1e7d4
8 changed files with 90 additions and 30 deletions

View File

@@ -259,12 +259,17 @@ export const BarSettings = (): Scrollable<Gtk.Widget, Gtk.Widget> => {
Option({
opt: options.bar.workspaces.showWsIcons,
title: 'Map Workspaces to Icons',
subtitle: 'https://hyprpanel.com/configuration/panel.html#show-workspace-icons',
subtitleLink: 'https://hyprpanel.com/configuration/panel.html#show-workspace-icons',
type: 'boolean',
}),
Option({
opt: options.bar.workspaces.showApplicationIcons,
title: 'Map Workspaces to Application Icons',
subtitle: "Requires 'Map Workspace to Icons' to be enabled",
subtitle:
"Requires 'Map Workspace to Icons' to be enabled\n" +
'https://hyprpanel.com/configuration/panel.html#map-workspaces-to-application-icons',
subtitleLink: 'https://hyprpanel.com/configuration/panel.html#map-workspaces-to-application-icons',
type: 'boolean',
}),
Option({
@@ -291,7 +296,9 @@ export const BarSettings = (): Scrollable<Gtk.Widget, Gtk.Widget> => {
}),
Option({
opt: options.bar.workspaces.workspaceIconMap,
title: 'Workspace Icon Mappings',
title: 'Workspace Icon & Color Mappings',
subtitle: 'https://hyprpanel.com/configuration/panel.html#show-workspace-icons',
subtitleLink: 'https://hyprpanel.com/configuration/panel.html#show-workspace-icons',
type: 'object',
}),
Option({