101 lines
2.3 KiB
JavaScript
101 lines
2.3 KiB
JavaScript
export class Shortcut {
|
|
static _shortcutList = [
|
|
'keybinding-rotation',
|
|
'keybinding-resize',
|
|
'keybinding-move',
|
|
'keybinding-close',
|
|
'keybinding-search',
|
|
'keybinding-open-settings',
|
|
'keybinding-maximize',
|
|
'keybinding-move-left',
|
|
'keybinding-move-right',
|
|
'keybinding-move-top',
|
|
'keybinding-move-bottom',
|
|
'keybinding-resize-left',
|
|
'keybinding-resize-right',
|
|
'keybinding-resize-top',
|
|
'keybinding-resize-bottom',
|
|
'keybinding-next-monitor',
|
|
'keybinding-next-workspace',
|
|
'keybinding-previous-workspace',
|
|
'keybinding-focus',
|
|
'keybinding-focus-left',
|
|
'keybinding-focus-right',
|
|
'keybinding-focus-top',
|
|
'keybinding-focus-bottom',
|
|
];
|
|
|
|
static getShortcuts() {
|
|
return Shortcut._shortcutList;
|
|
}
|
|
}
|
|
export class Switches {
|
|
static _switchList = [];
|
|
static getSwitches() {
|
|
return Switches._switchList;
|
|
}
|
|
}
|
|
export class Spin {
|
|
static _spinList = [
|
|
'tile-padding',
|
|
];
|
|
|
|
static getSpins() {
|
|
return Spin._spinList;
|
|
}
|
|
}
|
|
export class Combo {
|
|
static _comboList = [
|
|
{
|
|
key: 'keybinding-config',
|
|
rowNames: [
|
|
'None',
|
|
'i3',
|
|
'Grimble',
|
|
'Custom',
|
|
],
|
|
},
|
|
];
|
|
|
|
static getCombo() {
|
|
return Combo._comboList;
|
|
}
|
|
}
|
|
export class Radio {
|
|
static _radioButtons = [
|
|
// {
|
|
// key: 'tile-insertion-behavior',
|
|
// rowNames: [
|
|
// 'insertion_best_fit_row',
|
|
// 'insertion_focus_row'
|
|
// ]
|
|
// },
|
|
{
|
|
key: 'monitor-tile-insertion-behavior',
|
|
rowNames: [
|
|
'monitors_best_fit_row',
|
|
'monitors_focus_row',
|
|
],
|
|
},
|
|
{
|
|
key: 'search-entry-position',
|
|
rowNames: [
|
|
'search_entry_left',
|
|
'search_entry_center',
|
|
'search_entry_right',
|
|
],
|
|
},
|
|
{
|
|
key: 'fullscreen-switch',
|
|
rowNames: [
|
|
'keep_fullscreen',
|
|
'quit_fullscreen',
|
|
],
|
|
},
|
|
];
|
|
|
|
static getRadios() {
|
|
return Radio._radioButtons;
|
|
}
|
|
}
|