0dc11b5d22
Fixes #491 Before, we assumed XK_Alt_L was in Mod1 and XK_Super_L was in Mod4 (which is true on most systems). Now we just check if the keycode is in Mod1 or Mod4 and write the config accordingly.