aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 4d7d713..d82012b 100644
--- a/init.lua
+++ b/init.lua
@@ -36,7 +36,7 @@ hs.hotkey.bind({}, 'f8', function()
-- Counteract a Catalina bug where sometimes inverting screen colours with
-- an external monitor connected makes the internal monitor's brightness
-- change to 100%.
- if hs.screen.primaryScreen():name() ~= 'G247HL' then
+ if hs.screen.primaryScreen():name() == 'G247HL' then
cbb_brightness_restore()
end
end)