diff --git a/lua/config/mappings.lua b/lua/config/mappings.lua index 104bbf9..6683ff1 100644 --- a/lua/config/mappings.lua +++ b/lua/config/mappings.lua @@ -92,7 +92,7 @@ else local handle = io.popen 'lsusb | grep -c Sofle' local automap = handle:read '*n' handle:close() - if not automap then + if automap == 1 then MapDHM() end end