keyboard: Connect special characters dialogs to cosmic-config settings
This commit is contained in:
parent
e4d7c90f30
commit
a5fcd5326e
4 changed files with 66 additions and 17 deletions
|
|
@ -158,10 +158,11 @@ impl super::Page {
|
|||
};
|
||||
let prefix = special_key.prefix();
|
||||
let current = self
|
||||
.xkb_options
|
||||
.xkb
|
||||
.options
|
||||
.iter()
|
||||
.find(|x| x.starts_with(prefix))
|
||||
.map(String::as_str);
|
||||
.flat_map(|x| x.split(','))
|
||||
.find(|x| x.starts_with(prefix));
|
||||
|
||||
// TODO description, layout default
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue