diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-07-25 18:56:49 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-07-25 18:56:49 +0530 |
| commit | 2c7d36b4aa53ffa638a7aa7046767f10e7a152bf (patch) | |
| tree | 679c34d6566f5a774bcd5f979af755cf3cfeac4f /init.lua | |
| parent | 51be15cd7c9f39276f27d416356744041e62c22c (diff) | |
| download | null-browser-2c7d36b4aa53ffa638a7aa7046767f10e7a152bf.tar.gz null-browser-2c7d36b4aa53ffa638a7aa7046767f10e7a152bf.zip | |
Expose decorations enable/disable lua api
Diffstat (limited to '')
| -rw-r--r-- | init.lua | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -61,4 +61,18 @@ web.event.add_listener('NotificationReceived', { end, }) +-- EVENT for window creation for setting up decorations +-- web.decorations.top.enable() +-- web.decorations.bottom.enable() + +web.keymap.set('n', '<space>gg', function() + web.decorations.top.enable() + web.decorations.bottom.enable() +end) + +web.keymap.set('n', '<space>gt', function() + web.decorations.top.disable() + web.decorations.bottom.disable() +end) + print('ending...') |
