ags: add terminal config option

This commit is contained in:
end-4
2024-03-05 22:24:03 +07:00
parent 980627bd78
commit 4ba07f6bbe
3 changed files with 3 additions and 2 deletions
@@ -77,7 +77,7 @@ export default () => SidebarModule({
child: scriptStateIcon,
onClicked: () => {
App.closeWindow('sideleft');
execAsync([`bash`, `-c`, `foot fish -C "${script.command}"`]).catch(print)
execAsync([`bash`, `-c`, `${userOptions.apps.terminal} fish -C "${script.command}"`]).catch(print)
.then(() => {
scriptStateIcon.label = 'done';
})