Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kabturek/281467 to your computer and use it in GitHub Desktop.
Save kabturek/281467 to your computer and use it in GitHub Desktop.
hostname = io.popen("uname -n"):read()
-- Default modkey.
if hostname == "hal-9000" then
modkey = "Mod4" -- WIN
modkey2 = "Mod1" -- ALT
else
modkey = "Mod1" -- ALT
modkey2 = "Mod3" -- CTRL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment