* feat(hypr-screen-mirror): setup plugin * feat(hypr-screen-mirror): added socat watch on hyprland socket for monitor change * feat(hypr-screen-mirror): added hyprctl commands for starting and stopping mirroring * fix(hypr-screen-mirror): check if a mirror is active from monitor output during monitor update * doc(hypr-screen-mirror): plugin readme and image * fix(hypr-screen-mirror): issues from review * fix(hypr-screen-mirror): separate observed state from mirror actions --------- Co-authored-by: Lemmy <studio@quadbyte.net>
15 lines
252 B
Luau
15 lines
252 B
Luau
local glyph = noctalia.getConfig("glyph")
|
|
|
|
local function render()
|
|
barWidget.setGlyph(glyph)
|
|
end
|
|
|
|
function update()
|
|
noctalia.setUpdateInterval(1000)
|
|
render()
|
|
end
|
|
|
|
function onClick()
|
|
noctalia.togglePanel("profidev/hypr-screen-mirror:panel")
|
|
end
|