{
  "layout": {
    "type" : "layout",
    "pages": ["generalPage", "panelPage", "thumbnailsPage", "contextMenuPage"],
    "generalPage": {
      "type" : "page",
      "title" : "General",
      "sections": ["generalSection", "hotKeysSection"]
    },
    "panelPage": {
      "type" : "page",
      "title" : "Panel",
      "sections": ["appButtonsSection"]
    },
    "thumbnailsPage": {
      "type" : "page",
      "title" : "Thumbnails",
      "sections": ["thumbnailsSection", "hoverPeekSection"]
    },
    "contextMenuPage": {
      "type" : "page",
      "title" : "Context Menu",
      "sections": ["contextMenuSection"]
    },
    "generalSection": {
      "type" : "section",
      "title" : "Behavior",
      "keys": [
        "group-apps",
        "scroll-behavior",
        "left-click-action",
        "middle-click-action",
        "show-all-workspaces",
        "window-display-settings"
      ]
    },
    "hotKeysSection": {
      "type" : "section",
      "title" : "Hot Keys",
      "keys": [
        "cycleMenusHotkey",
        "show-apps-order-hotkey",
        "show-apps-order-timeout",
        "super-num-hotkeys"
      ]
    },
    "appButtonsSection": {
      "type" : "section",
      "title" : "Application Buttons",
      "keys": [
        "title-display",
        "launcher-animation-effect",
        "number-display",
        "enable-app-button-dragging"
      ]
    },
    "thumbnailsSection": {
      "type" : "section",
      "title" : "Thumbnails",
      "keys": [
        "thumbnail-scroll-behavior",
        "show-thumbnails",
        "animate-thumbnails",
        "vertical-thumbnails",
        "sort-thumbnails",
        "highlight-last-focused-thumbnail",
        "onclick-thumbnails",
        "thumbnail-timeout",
        "thumbnail-size"
      ]
    },
    "hoverPeekSection": {
      "type" : "section",
      "title" : "Hover Peek",
      "keys": [
        "enable-hover-peek",
        "hover-peek-time-in",
        "hover-peek-time-out",
        "hover-peek-opacity"
      ]
    },
    "contextMenuSection": {
      "type" : "section",
      "title" : "",
      "keys": [
        "show-recent",
        "autostart-menu-item",
        "monitor-move-all-windows"
      ]
    }
  },

  "group-apps": {
    "type": "checkbox",
    "default": true,
    "description": "Group windows by application"
  },
  "scroll-behavior": {
    "type": "combobox",
    "default": 1,
    "description": "Mouse wheel scroll action",
    "options": {
      "None": 1,
      "Cycle apps": 2,
      "Cycle windows": 3
    }
  },
  "left-click-action": {
    "type": "combobox",
    "default": 2,
    "description": "Left click action",
    "options": {
      "None": 1,
      "Toggle activation of last focused window": 2,
      "Cycle windows": 3
    }
  },
  "middle-click-action": {
    "type": "combobox",
    "default": 3,
    "description": "Middle click action",
    "options": {
      "None": 1,
      "Launch new app instance": 2,
      "Close last focused window in group": 3
    }
  },
  "show-all-workspaces": {
    "type": "checkbox",
    "default": false,
    "description": "Show windows from all workspaces"
  },
  "window-display-settings": {
    "type": "combobox",
    "default": 1,
    "description": "Show windows from other monitors",
    "options": {
      "Only from monitors without a window list": 1,
      "From all monitors": 2
    }
  },
  "cycleMenusHotkey": {
    "type": "keybinding",
    "default": "",
    "description": "Global hotkey for cycling through thumbnail menus"
  },
  "show-apps-order-hotkey": {
    "type": "keybinding",
    "default": "<Super>grave",
    "description": "Global hotkey to show the order of apps"
  },
  "show-apps-order-timeout": {
    "type": "spinbutton",
    "default": 2500,
    "min": 100,
    "max": 10000,
    "step": 10,
    "units": "milliseconds",
    "description": "Duration of the apps order display on hotkey press"
  },
  "super-num-hotkeys": {
    "type": "checkbox",
    "default": true,
    "description": "Enable Super+<number> shortcut to switch/open apps"
  },
  "title-display": {
    "type": "combobox",
    "default": 1,
    "description": "Button label",
    "options": {
      "None": 1,
      "Application name": 2,
      "Window title": 3,
      "Window title (only for the focused window)": 4
    }
  },
  "launcher-animation-effect": {
    "type": "combobox",
    "default": 3,
    "description": "Launcher animation",
    "options": {
      "None": 1,
      "Fade": 2,
      "Scale": 3
    }
  },
  "number-display": {
    "type": "checkbox",
    "default": true,
    "description": "Show window count numbers"
  },
  "enable-app-button-dragging": {
    "type": "checkbox",
    "default": true,
    "description": "Enable app button dragging"
  },
  "thumbnail-scroll-behavior": {
    "type": "checkbox",
    "default": false,
    "description": "Cycle windows on mouse wheel scroll"
  },
  "show-thumbnails": {
    "type": "checkbox",
    "default": true,
    "description": "Show thumbnails"
  },
  "animate-thumbnails": {
    "type": "checkbox",
    "default": false,
    "description": "Animate thumbnails"
  },
  "vertical-thumbnails": {
    "type": "checkbox",
    "default": false,
    "description": "Enable vertical thumbnails"
  },
  "sort-thumbnails": {
    "type": "checkbox",
    "default": false,
    "description": "Sort thumbnails according to the last focused windows"
  },
  "highlight-last-focused-thumbnail": {
    "type": "checkbox",
    "default": true,
    "description": "Highlight the thumbnail of the last focused window"
  },
  "onclick-thumbnails": {
    "type": "checkbox",
    "default": false,
    "description": "Click to show thumbnails"
  },
  "thumbnail-timeout": {
    "dependency": "!onclick-thumbnails",
    "type": "combobox",
    "default": 250,
    "description": "Delay before showing thumbnails",
    "options": {
      "50 ms": 50,
      "250 ms": 250,
      "500 ms": 500
    }
  },
  "thumbnail-size": {
    "type": "combobox",
    "default": 6,
    "description": "Thumbnail size",
    "options": {
      "Small": 3,
      "Medium": 6,
      "Large": 9,
      "Largest": 12
    }
  },
  "enable-hover-peek": {
    "type": "checkbox",
    "default": true,
    "description": "Show the window when hovering its thumbnail"
  },
  "hover-peek-time-in": {
    "dependency": "enable-hover-peek",
    "type": "combobox",
    "default": 300,
    "description": "Window fade-in time",
    "options": {
      "150 ms": 150,
      "300 ms": 300,
      "450 ms": 450
    }
  },
  "hover-peek-time-out": {
    "dependency": "enable-hover-peek",
    "type": "combobox",
    "default": 0,
    "description": "Window fade-out time",
    "options": {
      "None": 0,
      "150 ms": 150,
      "300 ms": 300,
      "450 ms": 450
    }
  },
  "hover-peek-opacity": {
    "dependency": "enable-hover-peek",
    "type": "spinbutton",
    "default": 100,
    "min": 0,
    "max": 100,
    "step": 1,
    "units": "percent",
    "description": "Window opacity"
  },
  "show-recent": {
    "type": "checkbox",
    "default": true,
    "description": "Show recent items"
  },
  "autostart-menu-item": {
    "type": "checkbox",
    "default": false,
    "description": "Show autostart option"
  },
  "monitor-move-all-windows": {
    "type": "checkbox",
    "default": true,
    "description": "Apply the monitor move option to all windows",
    "tooltip": "When clicking \"Move to monitor\" in the context menu, this option will move all of an app's windows instead of just the last focused window from the app."
  },

  "pinned-apps": {
    "type": "generic",
    "default": ["nemo.desktop", "firefox.desktop", "org.gnome.Terminal.desktop"]
  }
}
