From 408e044d0892fb29b5f099d128159d41607ffa08 Mon Sep 17 00:00:00 2001 From: Pavel Balaev Date: Tue, 23 Aug 2022 11:47:06 +0300 Subject: [PATCH] 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 --- brightness-widget/brightness.lua | 8 ++++---- 1 file 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%%" -- - inc_brightness_cmd = "brightnessctl set +" .. step .. "%" - dec_brightness_cmd = "brightnessctl set " .. step .. "-%" + get_brightness_cmd = "brightnessctl get" + set_brightness_cmd = "brightnessctl set %d%%" -- + inc_brightness_cmd = "brightnessctl set +" .. step .. "%" + dec_brightness_cmd = "brightnessctl set " .. step .. "-%" else show_warning(program .. " command is not supported by the widget") return