This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Number 1: swap monitors (I only ever have two monitors at max, might break if you have more) | |
| hl.bind(mainMod .. " + G", function() | |
| local mons = hl.get_monitors() | |
| local names = {} | |
| for i, v in ipairs(mons) do | |
| if i <= 2 then | |
| names["monitor" .. i] = v.name | |
| end | |
| end |