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
-5
View File
@@ -77,11 +77,6 @@ export default () => Box({
hexpand: true,
css: 'min-width: 2px;',
children: [
EventBox({
onPrimaryClick: () => App.closeWindow('sideleft'),
onSecondaryClick: () => App.closeWindow('sideleft'),
onMiddleClick: () => App.closeWindow('sideleft'),
}),
widgetContent,
],
setup: (self) => self
@@ -76,7 +76,7 @@ export default () => SidebarModule({
className: 'sidebar-module-scripts-button',
child: scriptStateIcon,
onClicked: () => {
App.closeWindow('sideleft');
closeEverything();
execAsync([`bash`, `-c`, `${userOptions.apps.terminal} fish -C "${script.command}"`]).catch(print)
.then(() => {
scriptStateIcon.label = 'done';