Skip to content

Instantly share code, notes, and snippets.

@jgensler8
Last active September 7, 2021 21:50
Show Gist options
  • Save jgensler8/76bbde1f440b33d9fc3e to your computer and use it in GitHub Desktop.
Save jgensler8/76bbde1f440b33d9fc3e to your computer and use it in GitHub Desktop.
my i3 to Amethyst conversion
{
"LAYOUTS": "----------------------",
"layouts": [
"tall",
"wide",
"fullscreen",
"column"
],
"MODIFIERS": "----------------------",
"Valid modifiers are": [
"option",
"shift",
"control",
"command"
],
"mod1": [
"control"
],
"mod2": [
"control",
"shift"
],
"COMMANDS": "----------------------",
"Commands are": {
"cycle-layout": "Cycle layout to the next layout",
"cycle-layout-backward": "Cycle layout to the previous layout",
"focus-screen-1": "Focus the main window on the first screen",
"focus-screen-2": "Focus the main window on the second screen",
"focus-screen-3": "Focus the main window on the third screen",
"focus-screen-4": "Focus the main window on the fourth screen",
"throw-screen-1": "Throw the focused window to the first screen",
"throw-screen-2": "Throw the focused window to the second screen",
"throw-screen-3": "Throw the focused window to the third screen",
"throw-screen-4": "Throw the focused window to the fourth screen",
"shrink-main": "Shrink the main pane of the current layout",
"expand-main": "Expand the main pane of the current layout",
"increase-main": "Increase the number of windows in the main pane",
"decrease-main": "Decrease the number of windows in the main pane",
"focus-ccw": "Move window focus counter-clockwise on the current screen",
"focus-cw": "Move window focus clockwise on the current screen",
"swap-ccw": "Swap focused window with the next window going counter-clockwise",
"swap-cw": "Swap focused window with the next window going clockwise",
"swap-main": "Swap focused window with the main window of its screen",
"throw-space-1": "Throw the focused window to the first space",
"throw-space-2": "Throw the focused window to the second space",
"throw-space-3": "Throw the focused window to the third space",
"throw-space-4": "Throw the focused window to the fourth space",
"throw-space-5": "Throw the focused window to the fifth space",
"throw-space-6": "Throw the focused window to the sixth space",
"throw-space-7": "Throw the focused window to the seventh space",
"throw-space-8": "Throw the focused window to the eighth space",
"throw-space-9": "Throw the focused window to the ninth space",
"toggle-float": "Toggle the focused window between being floating and tiled"
},
"screens": "9",
"cycle-layout": {
"mod": "mod2",
"key": "["
},
"cycle-layout-backward": {
"mod": "mod",
"key": "]"
},
"select-tall-layout": {
"mod": "mod1",
"key": "a"
},
"select-wide-layout": {
"mod": "mod1",
"key": "s"
},
"select-column-layout": {
"mod": "mod1",
"key": "d"
},
"select-fullscreen-layout": {
"mod": "mod1",
"key": "f"
},
"focus-screen-1": {
"mod": "mod1",
"key": "1"
},
"focus-screen-2": {
"mod": "mod1",
"key": "2"
},
"focus-screen-3": {
"mod": "mod1",
"key": "3"
},
"focus-screen-4": {
"mod": "mod1",
"key": "4"
},
"focus-screen-5": {
"mod": "mod1",
"key": "5"
},
"focus-screen-6": {
"mod": "mod1",
"key": "6"
},
"focus-screen-7": {
"mod": "mod1",
"key": "7"
},
"focus-screen-8": {
"mod": "mod1",
"key": "8"
},
"focus-screen-9": {
"mod": "mod1",
"key": "9"
},
"throw-screen-1": {
"mod": "mod2",
"key": "!"
},
"throw-screen-2": {
"mod": "mod2",
"key": "@"
},
"throw-screen-3": {
"mod": "mod2",
"key": "#"
},
"throw-screen-4": {
"mod": "mod2",
"key": "$"
},
"throw-screen-5": {
"mod": "mod2",
"key": "%"
},
"throw-screen-6": {
"mod": "mod2",
"key": "^"
},
"throw-screen-7": {
"mod": "mod2",
"key": "&"
},
"throw-screen-8": {
"mod": "mod2",
"key": "*"
},
"throw-screen-9": {
"mod": "mod2",
"key": "("
},
"focus-ccw": {
"mod": "mod1",
"key": "j"
},
"focus-cw": {
"mod": "mod1",
"key": ";"
},
"swap-screen-ccw": {
"mod": "mod2",
"key": "k"
},
"swap-screen-cw": {
"mod": "mod2",
"key": "l"
},
"swap-ccw": {
"mod": "mod2",
"key": "j"
},
"swap-cw": {
"mod": "mod2",
"key": ";"
},
"swap-main": {
"mod": "mod1",
"key": "m"
},
"throw-space-1": {
"mod": "mod2",
"key": "1"
},
"throw-space-2": {
"mod": "mod2",
"key": "2"
},
"throw-space-3": {
"mod": "mod2",
"key": "3"
},
"throw-space-4": {
"mod": "mod2",
"key": "4"
},
"throw-space-5": {
"mod": "mod2",
"key": "5"
},
"throw-space-6": {
"mod": "mod2",
"key": "6"
},
"throw-space-7": {
"mod": "mod2",
"key": "7"
},
"throw-space-8": {
"mod": "mod2",
"key": "8"
},
"throw-space-9": {
"mod": "mod2",
"key": "9"
},
"toggle-float": {
"mod": "mod1",
"key": "w"
},
"toggle-tiling": {
"mod": "mod2",
"key": "t"
},
"display-current-layout": {
"mod": "mod1",
"key": "i"
},
"MISC": "----------------------",
"floating": [],
"float-small-windows": true,
"mouse-follows-focus": true,
"focus-follows-mouse": false,
"enables-layout-hud": true,
"enables-layout-hud-on-space-change": true
}

Don't forget to pair this with tools like Karabiner (to switch/reassign control key to command key) and TotalSpaces (to disable desktop switching animation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment