feat(zen): toggle body class for zen

This commit is contained in:
Elian Doran
2025-02-14 13:55:04 +02:00
parent 568a84f5d2
commit 5c81627112
2 changed files with 6 additions and 0 deletions

View File

@@ -178,6 +178,10 @@ export default class RootCommandExecutor extends Component {
for (const window of windows) window[action]();
}
toggleZenModeCommand() {
$("body").toggleClass("zen");
}
firstTabCommand() {
this.#goToTab(1);
}