fix: Correctly detect all keyboard layouts
Closes: #1160 See these for more info: * pop-os/cosmic-applets#725 * lilyinstarlight/nixos-cosmic#484 * lilyinstarlight/nixos-cosmic#74 Also, thanks to @Thatoo for all of the help in figuring this out!
This commit is contained in:
parent
39de757846
commit
ae3586fa14
3 changed files with 4 additions and 4 deletions
|
|
@ -282,7 +282,7 @@ pub fn main() -> Result<(), Box<dyn Error>> {
|
|||
sessions
|
||||
};
|
||||
|
||||
let layouts_opt = match xkb_data::keyboard_layouts() {
|
||||
let layouts_opt = match xkb_data::all_keyboard_layouts() {
|
||||
Ok(ok) => Some(Arc::new(ok)),
|
||||
Err(err) => {
|
||||
log::warn!("failed to load keyboard layouts: {}", err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue