keybind: add Mod+Esc -> focus_prev
This commit is contained in:
@@ -160,7 +160,7 @@ if you would rather not compete with applications that bind Alt themselves.
|
|||||||
| `Mod+Ctrl+1..9` | Toggle tag in view |
|
| `Mod+Ctrl+1..9` | Toggle tag in view |
|
||||||
| `Mod+Ctrl+Shift+1..9` | Toggle tag on focused window |
|
| `Mod+Ctrl+Shift+1..9` | Toggle tag on focused window |
|
||||||
| `Mod+0` / `Mod+Shift+0` | View all tags / put window on all tags |
|
| `Mod+0` / `Mod+Shift+0` | View all tags / put window on all tags |
|
||||||
| `Mod+Tab` | Back to previously viewed tags |
|
| `Mod+Tab` / `Mod+Esc` | Back to previously viewed tags |
|
||||||
| `Mod+,` / `Mod+.` | Focus previous / next output |
|
| `Mod+,` / `Mod+.` | Focus previous / next output |
|
||||||
| `Mod+Shift+,` / `Mod+Shift+.` | Send window to previous / next output |
|
| `Mod+Shift+,` / `Mod+Shift+.` | Send window to previous / next output |
|
||||||
| `Mod+Left drag` | Move window (floats it) |
|
| `Mod+Left drag` | Move window (floats it) |
|
||||||
|
|||||||
@@ -198,6 +198,7 @@ pub const keys = tagKeys() ++ [_]Key{
|
|||||||
.{ .mods = mod, .keysym = xkb.Keysym.@"0", .action = .{ .view = action.all_tags } },
|
.{ .mods = mod, .keysym = xkb.Keysym.@"0", .action = .{ .view = action.all_tags } },
|
||||||
.{ .mods = mod | Mods.shift, .keysym = xkb.Keysym.@"0", .action = .{ .tag = action.all_tags } },
|
.{ .mods = mod | Mods.shift, .keysym = xkb.Keysym.@"0", .action = .{ .tag = action.all_tags } },
|
||||||
.{ .mods = mod, .keysym = xkb.Keysym.Tab, .action = .view_prev },
|
.{ .mods = mod, .keysym = xkb.Keysym.Tab, .action = .view_prev },
|
||||||
|
.{ .mods = mod, .keysym = xkb.Keysym.Escape, .action = .view_prev },
|
||||||
|
|
||||||
// Outputs.
|
// Outputs.
|
||||||
.{ .mods = mod, .keysym = xkb.Keysym.comma, .action = .{ .focus_output = .prev } },
|
.{ .mods = mod, .keysym = xkb.Keysym.comma, .action = .{ .focus_output = .prev } },
|
||||||
|
|||||||
Reference in New Issue
Block a user