Files
custum-hyprpanel/widget/settings/pages/config/menus/volume.ts
Jas Singh c2e46f098e Fixed an issue where the correct global colors to the icon weren't being applied in split variant. (#409)
* Fix global icon coloring

* Fix themes

* Update custom modules to use global colors if enabled

* Fix icons

* Fix custom module icon color
2024-10-31 00:49:05 -07:00

26 lines
896 B
TypeScript

import { Option } from 'widget/settings/shared/Option';
import { Header } from 'widget/settings/shared/Header';
import options from 'options';
import Scrollable from 'types/widgets/scrollable';
import { Attribute, Child } from 'lib/types/widget';
export const VolumeMenuSettings = (): Scrollable<Child, Attribute> => {
return Widget.Scrollable({
vscroll: 'automatic',
child: Widget.Box({
class_name: 'bar-theme-page paged-container',
vertical: true,
children: [
Header('Volume'),
Option({
opt: options.menus.volume.raiseMaximumVolume,
title: 'Allow Raising Volume Above 100%',
subtitle: 'Allows the volume slider in the menu to go up to 150% volume',
type: 'boolean',
}),
],
}),
});
};