disabled screenshot keybind since it doesnt work and also somehow grabs up
This commit is contained in:
parent
6404888941
commit
c72356a087
|
@ -267,6 +267,7 @@ impl XLib {
|
||||||
}
|
}
|
||||||
xlib::KeyPress | xlib::KeyRelease => {
|
xlib::KeyPress | xlib::KeyRelease => {
|
||||||
let ev = unsafe { &event.key };
|
let ev = unsafe { &event.key };
|
||||||
|
|
||||||
let keycode =
|
let keycode =
|
||||||
keysym_to_virtual_keycode(self.keyev_to_keysym(ev).get());
|
keysym_to_virtual_keycode(self.keyev_to_keysym(ev).get());
|
||||||
let state = if ev.type_ == xlib::KeyPress {
|
let state = if ev.type_ == xlib::KeyPress {
|
||||||
|
|
16
src/state.rs
16
src/state.rs
|
@ -190,15 +190,15 @@ where
|
||||||
},
|
},
|
||||||
));
|
));
|
||||||
|
|
||||||
self.add_keybind(KeyBinding::new(
|
// self.add_keybind(KeyBinding::new(
|
||||||
KeyBind::new(VirtualKeyCode::Print),
|
// KeyBind::new(VirtualKeyCode::Print),
|
||||||
|wm, _| wm.spawn("screenshot.sh", &[]),
|
// |wm, _| wm.spawn("screenshot.sh", &[]),
|
||||||
));
|
// ));
|
||||||
|
|
||||||
self.add_keybind(KeyBinding::new(
|
// self.add_keybind(KeyBinding::new(
|
||||||
KeyBind::new(VirtualKeyCode::Print).with_mod(ModifierKey::Shift),
|
// KeyBind::new(VirtualKeyCode::Print).with_mod(ModifierKey::Shift),
|
||||||
|wm, _| wm.spawn("screenshot.sh", &["-edit"]),
|
// |wm, _| wm.spawn("screenshot.sh", &["-edit"]),
|
||||||
));
|
// ));
|
||||||
|
|
||||||
self.add_keybind(KeyBinding::new(
|
self.add_keybind(KeyBinding::new(
|
||||||
KeyBind::new(VirtualKeyCode::M).with_mod(self.config.mod_key),
|
KeyBind::new(VirtualKeyCode::M).with_mod(self.config.mod_key),
|
||||||
|
|
Loading…
Reference in a new issue