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:
Ahmed Emad
2026-08-03 22:38:07 -04:00
committed by GitHub
co-authored by Ahmed5Emad
parent 391cfa818e
commit 87ef0483dc
8 changed files with 322 additions and 70 deletions
+5 -1
View File
@@ -16,6 +16,7 @@
-- lands in /tmp as MP4; GIF is produced on save via record.sh convert-gif.
local PANEL_ID = "alexander/screen-toolkit:panel"
local FULL_PANEL_ID = "alexander/screen-toolkit:panel-full"
local RESULT_PANEL_ID = "alexander/screen-toolkit:result"
local SCRIPT_CAPTURE = noctalia.pluginDir() .. "/scripts/capture.sh"
@@ -919,7 +920,10 @@ local HANDLERS = {
clearResult = clearResult,
clearHistory = clearHistory,
setCursorHidden = setCursorHidden,
toggle = function() noctalia.togglePanel(PANEL_ID) end,
toggle = function()
local id = cfg("panel-mode") == "full" and FULL_PANEL_ID or PANEL_ID
noctalia.togglePanel(id)
end,
}
-- Tools that begin a brand-new capture. Starting one discards any recording