File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ local function worker(user_args)
39
39
local path_to_icon = args .path_to_icon or ICON_DIR .. ' brightness.svg'
40
40
local font = args .font or beautiful .font
41
41
local timeout = args .timeout or 100
42
+ local size = args .size or 18
43
+ local arc_thickness = args .arc_thickness or 2
42
44
43
45
local program = args .program or ' light'
44
46
local step = args .step or 5
@@ -105,10 +107,10 @@ local function worker(user_args)
105
107
layout = wibox .container .place
106
108
},
107
109
max_value = 100 ,
108
- thickness = 2 ,
110
+ thickness = arc_thickness ,
109
111
start_angle = 4.71238898 , -- 2pi*3/4
110
- forced_height = 18 ,
111
- forced_width = 18 ,
112
+ forced_height = size ,
113
+ forced_width = size ,
112
114
paddings = 2 ,
113
115
widget = wibox .container .arcchart ,
114
116
set_value = function (self , level )
You can’t perform that action at this time.
0 commit comments