shell: read in config, if available

This commit is contained in:
Victoria Brekenfeld 2022-03-30 13:47:06 +02:00
parent 55c10830e8
commit a9d6b8c3d7
8 changed files with 276 additions and 46 deletions

View file

@ -237,7 +237,7 @@ impl Common {
}
// here we can handle global shortcuts and the like
for (binding, action) in self.config.key_bindings.iter() {
for (binding, action) in self.config.static_conf.key_bindings.iter() {
if state == KeyState::Pressed
&& binding.modifiers == *modifiers
&& handle.raw_syms().contains(&binding.key)