- Updated default json for setup

This commit is contained in:
Ben Reaves
2020-02-01 01:08:48 -06:00
parent 25292bae8c
commit 499bf51dd7

View File

@@ -19,6 +19,7 @@
"init": [], "init": [],
"defaulttypes":["windows","mac","chromebook"], "defaulttypes":["windows","mac","chromebook"],
"defaults":[{ "defaults":[{
"id": 1,
"name":"Windows", "name":"Windows",
"active": false, "active": false,
"type":"windows", "type":"windows",
@@ -27,7 +28,8 @@
"term":"setxkbmap -option;setxkbmap -option altwin:swap_alt_win" "term":"setxkbmap -option;setxkbmap -option altwin:swap_alt_win"
}, },
{ {
"name":"Mac - hid driver", "id": 2,
"name":"Mac - hid driver (Recommended)",
"active": false, "active": false,
"type":"mac", "type":"mac",
"description":"Standard Mac Keyboards with Apple driver", "description":"Standard Mac Keyboards with Apple driver",
@@ -36,7 +38,8 @@
"hack": "echo '1' | sudo tee -a /sys/module/hid_apple/parameters/swap_opt_cmd;echo 'options hid_apple swap_opt_cmd=1' | sudo tee -a /etc/modprobe.d/hid_apple.conf;sudo update-initramfs -u -k all" "hack": "echo '1' | sudo tee -a /sys/module/hid_apple/parameters/swap_opt_cmd;echo 'options hid_apple swap_opt_cmd=1' | sudo tee -a /etc/modprobe.d/hid_apple.conf;sudo update-initramfs -u -k all"
}, },
{ {
"name":"Mac Only", "id": 3,
"name":"Mac Only - (Best for VMs or non-official Mac keyboards)",
"active": true, "active": true,
"type":"mac", "type":"mac",
"description":"Standard Mac Keyboards", "description":"Standard Mac Keyboards",
@@ -44,6 +47,7 @@
"term":"setxkbmap -option;setxkbmap -option altwin:swap_alt_win" "term":"setxkbmap -option;setxkbmap -option altwin:swap_alt_win"
}, },
{ {
"id": 4,
"name":"Chromebook", "name":"Chromebook",
"active": false, "active": false,
"type":"chromebook", "type":"chromebook",
@@ -52,6 +56,7 @@
"term":"setxkbmap -option;setxkbmap -option altwin:swap_alt_win" "term":"setxkbmap -option;setxkbmap -option altwin:swap_alt_win"
}, },
{ {
"id": 5,
"name":"Chromebook - Windows", "name":"Chromebook - Windows",
"active": false, "active": false,
"type":"chromebook", "type":"chromebook",
@@ -61,6 +66,7 @@
"fallbackgui":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.chromebook.gui $DISPLAY" "fallbackgui":"setxkbmap -option;xkbcomp -w0 -I$HOME/.xkb ~/.xkb/keymap/kbd.chromebook.gui $DISPLAY"
}, },
{ {
"id": 6,
"name":"Chromebook - Mac", "name":"Chromebook - Mac",
"active": false, "active": false,
"type":"chromebook", "type":"chromebook",