Added the ability to define custom icons for the system tray. (#408)

* Added the ability to define custom icons for the system tray.

* Add placeholder icon if icon is not defined.

* Update themes
This commit is contained in:
Jas Singh
2024-10-30 21:16:15 -07:00
committed by GitHub
parent aaad7c73b5
commit 77d4512c82
51 changed files with 534 additions and 399 deletions

View File

@@ -651,6 +651,15 @@ export const BarSettings = (): Scrollable<Gtk.Widget, Gtk.Widget> => {
subtitleLink: 'https://hyprpanel.com/configuration/panel.html#system-tray',
type: 'object',
}),
Option({
opt: options.bar.systray.customIcons,
title: 'Custom Systray Icons',
subtitle:
'An object defining custom icons for the system tray.\n' +
'Wiki: https://hyprpanel.com/configuration/panel.html#custom-systray-icons',
subtitleLink: 'https://hyprpanel.com/configuration/panel.html#custom-systray-icons',
type: 'object',
}),
/*
******************************