autocommit 2022-04-17 17:08:31 CEST
This commit is contained in:
parent
50b792db78
commit
a30306e3d5
23 changed files with 390 additions and 42 deletions
|
|
@ -27,6 +27,7 @@ use {
|
|||
},
|
||||
std::time::Duration,
|
||||
};
|
||||
use jay_config::keyboard::syms::{SYM_a, SYM_e, SYM_o};
|
||||
|
||||
const MOD: Modifiers = ALT;
|
||||
|
||||
|
|
@ -77,6 +78,10 @@ fn configure_seat(s: Seat) {
|
|||
s.bind(MOD | sym, move || s.show_workspace(ws));
|
||||
}
|
||||
|
||||
s.bind(MOD | SYM_a, || Command::new("spotify-remote").arg("a").spawn());
|
||||
s.bind(MOD | SYM_o, || Command::new("spotify-remote").arg("o").spawn());
|
||||
s.bind(MOD | SYM_e, || Command::new("spotify-remote").arg("e").spawn());
|
||||
|
||||
fn do_grab(s: Seat, grab: bool) {
|
||||
for device in s.input_devices() {
|
||||
if device.has_capability(CAP_KEYBOARD) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue