fix(inputs): Use env vars and extra layouts
Closes: #725 The inputs applet uses an outdated `xkb-data` which causes some configs to fail which in turn leads to an empty list. See: https://github.com/lilyinstarlight/nixos-cosmic/issues/74#issuecomment-2353273156
This commit is contained in:
parent
0030d93121
commit
a9f9620d11
4 changed files with 5 additions and 5 deletions
|
|
@ -18,4 +18,4 @@ tracing-subscriber.workspace = true
|
|||
tracing.workspace = true
|
||||
serde = { version = "1.0.197", features = ["derive"] }
|
||||
once_cell = "1.19.0"
|
||||
xkb-data = "0.1.0"
|
||||
xkb-data = "0.2"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ mod window;
|
|||
pub fn run() -> cosmic::iced::Result {
|
||||
localize::localize();
|
||||
|
||||
let layouts = match xkb_data::keyboard_layouts() {
|
||||
let layouts = match xkb_data::all_keyboard_layouts() {
|
||||
Ok(layouts) => layouts,
|
||||
Err(why) => {
|
||||
tracing::error!("could not get keyboard layouts data: {:?}", why);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue