multimonitor for osk

This commit is contained in:
end-4
2024-04-05 17:36:22 +07:00
parent f1c3c27e7e
commit f8d84d6068
9 changed files with 22 additions and 34 deletions
@@ -41,7 +41,7 @@ export const ToggleIconBluetooth = (props = {}) => Widget.Button({
},
onSecondaryClickRelease: () => {
execAsync(['bash', '-c', `${userOptions.apps.bluetooth}`]).catch(print);
App.closeWindow('sideright');
closeEverything();
},
child: BluetoothIndicator(),
setup: (self) => {
@@ -227,8 +227,8 @@ export const ModulePowerIcon = (props = {}) => Widget.Button({
className: 'txt-small sidebar-iconbutton',
tooltipText: 'Session',
onClicked: () => {
App.toggleWindow('session');
App.closeWindow('sideright');
closeEverything();
Utils.timeout(1, () => App.openWindow('session'));
},
child: MaterialIcon('power_settings_new', 'norm'),
setup: button => {