mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
fix(config): vim darkmode check typo
Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
@@ -341,9 +341,9 @@ function! ChangeColorScheme(channel, msg)
|
||||
endfunction
|
||||
|
||||
function! CheckStatus(timer)
|
||||
if executable("default")
|
||||
if executable("defaults")
|
||||
let job = job_start(
|
||||
\ ["default", "read", "-g", "AppleInterfaceStyle"],
|
||||
\ ["defaults", "read", "-g", "AppleInterfaceStyle"],
|
||||
\ {"out_cb": "ChangeColorScheme"}
|
||||
\ )
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user