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:
Josh Megnauth 2024-11-22 01:51:17 -05:00 committed by Michael Murphy
parent 0030d93121
commit a9f9620d11
4 changed files with 5 additions and 5 deletions

View file

@ -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);