mirror of
https://github.com/cwilliams5/Midnight-Trilium-Dark-Mode.git
synced 2025-09-10 09:18:28 -04:00
add zen mode
add zen mode
This commit is contained in:
8
zenmode.js
Normal file
8
zenmode.js
Normal file
@@ -0,0 +1,8 @@
|
||||
api.addButtonToToolbar({
|
||||
title: 'Zen mode',
|
||||
icon: 'fullscreen',
|
||||
action: function() {
|
||||
$("body").toggleClass("zen-mode");
|
||||
},
|
||||
shortcut: 'alt+z'
|
||||
});
|
Reference in New Issue
Block a user