From 47fc031feeddc955e6c7c43410613c75e3370e96 Mon Sep 17 00:00:00 2001 From: Matias Linares Date: Sun, 22 Nov 2015 04:06:58 -0300 Subject: Cleanup. Nom it's not needed for now. --- src/main.rs | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index a7d8077..d871288 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,8 +3,6 @@ extern crate libc; extern crate x11; extern crate unix_socket; -#[macro_use] -extern crate nom; pub mod safe_x11; pub mod command; @@ -34,15 +32,6 @@ fn main() { let mut bindings: BindingHash = HashMap::new(); let x11_fd = x11_event::x11_fd(dotwm.display); - //add_binding(&mut dotwm,&mut bindings, keysym::XK_Return, xlib::Mod4Mask, exec, - // &["xterm"]); - //add_binding(&mut dotwm,&mut bindings, keysym::XK_p, xlib::Mod4Mask, exec, - // &["dmenu_run"]); - //add_binding(&mut dotwm,&mut bindings, keysym::XK_h, xlib::Mod4Mask, move_win, &["-10", "0"]); - //add_binding(&mut dotwm,&mut bindings, keysym::XK_j, xlib::Mod4Mask, move_win, &["0", "10"]); - //add_binding(&mut dotwm,&mut bindings, keysym::XK_k, xlib::Mod4Mask, move_win, &["0", "-10"]); - //add_binding(&mut dotwm,&mut bindings, keysym::XK_l, xlib::Mod4Mask, move_win, &["10", "0"]); - // Resize add_binding(&mut dotwm,&mut bindings, keysym::XK_h, xlib::Mod4Mask | xlib::ControlMask, resize_win, &["-10", "0"]); -- cgit v1.2.3-70-g09d2