diff --git a/src/config/mod.rs b/src/config/mod.rs index a81ae6fd..3bfda4bb 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -515,8 +515,8 @@ fn update_input(state: &mut State) { fn config_changed(config: cosmic_config::Config, keys: Vec, state: &mut State) { for key in &keys { match key.as_str() { - "xkb-config" => { - let value = get_config::(&config, "xkb-config"); + "xkb_config" => { + let value = get_config::(&config, "xkb_config"); for seat in state.common.seats().cloned().collect::>().iter() { if let Some(keyboard) = seat.get_keyboard() { if let Err(err) = keyboard.set_xkb_config(state, xkb_config_to_wl(&value)) {