mirror of
https://github.com/YaLTeR/niri.git
synced 2024-09-11 12:35:58 +03:00
input: Change quit bind to Super+Shift+e
This commit is contained in:
parent
91729f7324
commit
4daef8abdc
@ -34,8 +34,8 @@ impl Niri {
|
||||
event.state(),
|
||||
serial,
|
||||
time,
|
||||
|_, _, keysym| match keysym.modified_sym() {
|
||||
keysyms::KEY_Escape => FilterResult::Intercept(InputAction::Quit),
|
||||
|_, mods, keysym| match keysym.modified_sym() {
|
||||
keysyms::KEY_E if mods.logo => FilterResult::Intercept(InputAction::Quit),
|
||||
keysym @ keysyms::KEY_XF86Switch_VT_1..=keysyms::KEY_XF86Switch_VT_12 => {
|
||||
let vt = (keysym - keysyms::KEY_XF86Switch_VT_1 + 1) as i32;
|
||||
FilterResult::Intercept(InputAction::ChangeVt(vt))
|
||||
|
Loading…
Reference in New Issue
Block a user