Fix luacheck warnings

This patch fixes luacheck warnings in brightness plugin:
brightness-widget/brightness.lua:60:1:
        inconsistent indentation (SPACE followed by TAB)
brightness-widget/brightness.lua:63:60:
        line contains trailing whitespace
This commit is contained in:
Pavel Balaev 2022-08-23 11:47:06 +03:00
parent 5358c40a02
commit 408e044d08
No known key found for this signature in database
GPG Key ID: 418730239206AEE9
1 changed files with 4 additions and 4 deletions

View File

@ -57,10 +57,10 @@ local function worker(user_args)
inc_brightness_cmd = 'xbacklight -inc ' .. step
dec_brightness_cmd = 'xbacklight -dec ' .. step
elseif program == 'brightnessctl' then
get_brightness_cmd = "brightnessctl get"
set_brightness_cmd = "brightnessctl set %d%%" -- <level>
inc_brightness_cmd = "brightnessctl set +" .. step .. "%"
dec_brightness_cmd = "brightnessctl set " .. step .. "-%"
get_brightness_cmd = "brightnessctl get"
set_brightness_cmd = "brightnessctl set %d%%" -- <level>
inc_brightness_cmd = "brightnessctl set +" .. step .. "%"
dec_brightness_cmd = "brightnessctl set " .. step .. "-%"
else
show_warning(program .. " command is not supported by the widget")
return