forked from Shinonome/dots-hyprland
multimonitor for osk
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user