summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-11-15 09:11:18 +0100
committerAnton Khirnov <anton@khirnov.net>2021-11-15 09:11:18 +0100
commit8aa3f747fc150b0fc2978effdd99f7daa7dd8cfd (patch)
tree8eed0ddeb39fa83811dd4192c3b785b1068b3e8c
parent59cb48c6c051c3c49ff69bb16bd90bd50b402131 (diff)
rc: make a function local
-rw-r--r--rc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.lua b/rc.lua
index d479ca5..9ff61ce 100644
--- a/rc.lua
+++ b/rc.lua
@@ -65,7 +65,7 @@ clock_date:set_align("center")
local tray_icon_size = 24
local systray = wibox.widget.systray()
-function update_systray_iconsize()
+local function update_systray_iconsize()
systray:set_base_size(beautiful.xresources.apply_dpi(tray_icon_size, screen.primary))
end