Made the profile image avatar in the dashboard configurable (size, radius). (#212)

This commit is contained in:
Jas Singh
2024-08-31 12:48:32 -07:00
committed by GitHub
parent e050e2ff2d
commit 44fddbcc14
4 changed files with 15 additions and 6 deletions

View File

@@ -16,6 +16,8 @@ export const DashboardMenuSettings = () => {
Header('Power Menu'),
Option({ opt: options.menus.dashboard.powermenu.avatar.image, title: 'Profile Image', type: 'img' }),
Option({ opt: options.menus.dashboard.powermenu.avatar.name, title: 'Profile Name', subtitle: 'Use \'system\' to automatically set system name', type: 'string' }),
Option({ opt: options.theme.bar.menus.menu.dashboard.profile.size, title: 'Profile Image Size', type: 'string' }),
Option({ opt: options.theme.bar.menus.menu.dashboard.profile.radius, title: 'Profile Image Radius', type: 'string' }),
Option({ opt: options.menus.dashboard.powermenu.confirmation, title: 'Show Confirmation Dialogue', type: 'boolean' }),
Option({ opt: options.menus.dashboard.powermenu.shutdown, title: 'Shutdown Command', type: 'string' }),