autocommit 2022-02-15 23:15:00 CET
This commit is contained in:
parent
cacd49d15a
commit
3591f6f4f9
4 changed files with 15 additions and 105 deletions
|
|
@ -1,5 +1,5 @@
|
|||
use i4config::keyboard::mods::{Modifiers, ALT, CTRL, SHIFT};
|
||||
use i4config::keyboard::syms::{SYM_Super_L, SYM_h, SYM_j, SYM_k, SYM_l, SYM_r, SYM_t, SYM_x};
|
||||
use i4config::keyboard::syms::{SYM_Super_L, SYM_h, SYM_j, SYM_k, SYM_l, SYM_r, SYM_t, SYM_x, SYM_y};
|
||||
use i4config::Direction::{Down, Left, Right, Up};
|
||||
use i4config::{config, create_seat, input_devices, on_new_input_device, Seat, Command};
|
||||
|
||||
|
|
@ -35,6 +35,9 @@ fn configure_seat(s: Seat) {
|
|||
s.bind(SYM_x, || {
|
||||
Command::new("alacritty").spawn()
|
||||
});
|
||||
s.bind(SYM_y, || {
|
||||
Command::new("sleep").arg("100").spawn()
|
||||
});
|
||||
}
|
||||
|
||||
pub fn configure() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue