refactor: enforce noctalia.getConfig across community plugins
This commit is contained in:
@@ -3,7 +3,7 @@ id = "oldirtty/color_picker"
|
||||
name = "Color Picker"
|
||||
description = "Pick a color from your screen with hyprpicker."
|
||||
license = "MIT"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
min_noctalia = "5.0.0"
|
||||
icon = "palette"
|
||||
dependencies = ["hyprpicker"]
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
-- Right Click: picks a color directly
|
||||
-- and copies the hex to clipboard (no panel).
|
||||
|
||||
local glyph = barWidget.getConfig("glyph")
|
||||
local glyph = noctalia.getConfig("glyph")
|
||||
local tr_color_picker = noctalia.tr("color_picker");
|
||||
|
||||
local function render()
|
||||
@@ -23,4 +23,4 @@ function onRightClick()
|
||||
end)
|
||||
end
|
||||
|
||||
render()
|
||||
render()
|
||||
|
||||
Reference in New Issue
Block a user