- Added early support for app switching on Gnome

This commit is contained in:
Ben Reaves
2020-02-26 18:15:46 -06:00
parent c6292ee34a
commit c4db31bdf0
4 changed files with 67 additions and 54 deletions

View File

@@ -183,33 +183,33 @@ default partial xkb_symbols "mac_levelssym" {
RedirectKey(key=<DELE>,clearmods=Mod1)
]
};
// Cycle App and In App Tab Switching
replace key <TAB> {
type[Group1]= "ONE_LEVEL_CTRL",
symbols[Group1]= [
Tab,
Tab,
NoSymbol,
NoSymbol,
backslash,
backslash,
Tab,
Tab
],
actions[Group1]= [
NoAction(),
NoAction(),
// FK18 is just to clear Alt
RedirectKey(key=<FK18>,clearmods=Mod1),
RedirectKey(key=<FK18>,clearmods=Mod1),
// Also need to remap on the DE level
// to backslash \ for Cmd+Tab
RedirectKey(key=<BKSL>),
RedirectKey(key=<BKSL>),
RedirectKey(key=<TAB>,modifiers=Control,clearmods=Mod4),
RedirectKey(key=<TAB>,modifiers=Control+Shift,clearmods=Mod4)
]
};
// // Cycle App and In App Tab Switching
// replace key <TAB> {
// type[Group1]= "ONE_LEVEL_CTRL",
// symbols[Group1]= [
// Tab,
// Tab,
// NoSymbol,
// NoSymbol,
// backslash,
// backslash,
// Tab,
// Tab
// ],
// actions[Group1]= [
// NoAction(),
// NoAction(),
// // FK18 is just to clear Alt
// RedirectKey(key=<FK18>,clearmods=Mod1),
// RedirectKey(key=<FK18>,clearmods=Mod1),
// // Also need to remap on the DE level
// // to backslash \ for Cmd+Tab
// RedirectKey(key=<BKSL>),
// RedirectKey(key=<BKSL>),
// RedirectKey(key=<TAB>,modifiers=Control,clearmods=Mod4),
// RedirectKey(key=<TAB>,modifiers=Control+Shift,clearmods=Mod4)
// ]
// };
// // Full Print Screen
// // GalliumOS

View File

@@ -27,33 +27,33 @@ partial xkb_symbols "mac_win" {
};
};
partial xkb_symbols "mac_global" {
// Cycle App and In App Tab Switching
replace key <TAB> {
type[Group1]= "ONE_LEVEL_CTRL",
symbols[Group1]= [
Tab,
Tab,
backslash,
// NoSymbol,
NoSymbol,
backslash,
Tab,
Tab
],
actions[Group1]= [
NoAction(),
NoAction(),
RedirectKey(key=<BKSL>,clearmods=Shift),
// FK18 is just to clear Alt
// RedirectKey(key=<FK18>,clearmods=Mod1),
RedirectKey(key=<FK18>,clearmods=Mod1),
// Also need to remap on the DE level
// to backslash \ for Cmd+Tab
RedirectKey(key=<TAB>),
RedirectKey(key=<TAB>,modifiers=Control,clearmods=Mod4),
RedirectKey(key=<TAB>,modifiers=Control+Shift,clearmods=Mod4)
]
};
// // Cycle App and In App Tab Switching
// replace key <TAB> {
// type[Group1]= "ONE_LEVEL_CTRL",
// symbols[Group1]= [
// Tab,
// Tab,
// backslash,
// // NoSymbol,
// NoSymbol,
// backslash,
// Tab,
// Tab
// ],
// actions[Group1]= [
// NoAction(),
// NoAction(),
// RedirectKey(key=<BKSL>,clearmods=Shift),
// // FK18 is just to clear Alt
// // RedirectKey(key=<FK18>,clearmods=Mod1),
// RedirectKey(key=<FK18>,clearmods=Mod1),
// // Also need to remap on the DE level
// // to backslash \ for Cmd+Tab
// RedirectKey(key=<TAB>),
// RedirectKey(key=<TAB>,modifiers=Control,clearmods=Mod4),
// RedirectKey(key=<TAB>,modifiers=Control+Shift,clearmods=Mod4)
// ]
// };
// Page Up
replace key <UP> {
type[Group1]= "ONE_LEVEL_CTRL",