diff options
author | Teddy Wing | 2019-11-15 19:54:05 +0100 |
---|---|---|
committer | Teddy Wing | 2019-11-15 19:54:05 +0100 |
commit | decabccb24214d5c93f5bf8b17ebc21244eb733a (patch) | |
tree | 584c88d46d6631fd1f0b33616306e238f3708e9b /init.lua | |
parent | c24dd5d3a0d9c38d52cd86f391315c066f9011ea (diff) | |
download | dothammerspoon-decabccb24214d5c93f5bf8b17ebc21244eb733a.tar.bz2 |
init: Fix condition in F8 mapping
We want to restore the brightness when the external monitor is
connected. Probably wrote the inverse condition in order to test it
without the monitor connected and forgot to inverse it.
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |