screen-toolkit: add compact/full panel modes, mode-aware toggle, and … (#237)
* screen-toolkit: add compact/full panel modes, mode-aware toggle, and full documentation * screen-toolkit: restrict compact tile hover/click to icon and label * screen-toolkit: full-mode hover border on tile, mirror compact colors * screen-toolkit: add plugin thumbnail screenshot --------- Co-authored-by: Ahmed5Emad <ahmed5emad@users.noreply.github.com>
This commit is contained in:
@@ -55,7 +55,8 @@ end)
|
||||
function onClick()
|
||||
-- The bar icon never stops a recording; it just opens the panel so the
|
||||
-- stop button (in the panel header, next to the close X) is reachable.
|
||||
noctalia.togglePanel("alexander/screen-toolkit:panel")
|
||||
local panelId = noctalia.getConfig("panel-mode") == "full" and "alexander/screen-toolkit:panel-full" or "alexander/screen-toolkit:panel"
|
||||
noctalia.togglePanel(panelId)
|
||||
end
|
||||
|
||||
function onRightClick()
|
||||
|
||||
Reference in New Issue
Block a user