diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-08-08 10:15:28 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-08-08 10:15:28 +0530 |
| commit | 5e3f233c239de63e8ac3549a32b0e6343b32fc7a (patch) | |
| tree | b0e0eedf47632c5765bdd554a5fdd7a11e6838a5 /init.lua | |
| parent | 4ecfe688a016232656b383f82da4d6e2ba75a328 (diff) | |
| download | null-browser-5e3f233c239de63e8ac3549a32b0e6343b32fc7a.tar.gz null-browser-5e3f233c239de63e8ac3549a32b0e6343b32fc7a.zip | |
Add decorations.*.set_size api
Diffstat (limited to '')
| -rw-r--r-- | init.lua | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -56,9 +56,15 @@ web.event.add_listener('NotificationReceived', { -- Tabline require 'null-browser.extras.tabline'.init { - decoration = web.decorations.top, + decoration = web.decorations.left, } +web.event.add_listener('WinCreated', { + callback = function(event) + web.decorations.left.set_size(200, { win = event.win_id }) + end, +}) + -- Statusline require 'null-browser.extras.statusline'.init { decoration = web.decorations.bottom, |
