diff options
author | streetturtle <streetturtle@users.noreply.github.com> | 2022-09-02 21:49:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 21:49:30 -0400 |
commit | 8c2e57347ecccf343185ba73e9db67931dcf50c8 (patch) | |
tree | 4a09eb45c05766bcfdecc0efb8b0fe70b49e58fe | |
parent | 5358c40a029252c1bfcabb4132e05621934a2cf6 (diff) | |
parent | 408e044d0892fb29b5f099d128159d41607ffa08 (diff) |
Merge pull request #374 from 0x501D/fix_luacheck_warnings
Fix luacheck warnings
-rw-r--r-- | brightness-widget/brightness.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/brightness-widget/brightness.lua b/brightness-widget/brightness.lua index b1cb107..affaf47 100644 --- a/brightness-widget/brightness.lua +++ b/brightness-widget/brightness.lua @@ -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 |