hyprland-autoname-workspaces: [BUG] crash when closing any application
Describe the bug autoname crash when closing any application.
To Reproduce
- RUST_BACKTRACE=full hyprland-autoname-workspaces
- open any application
- close it
Linux Distro (please complete the following information):
- arch
- autoname: latest git
~ on main [!] took 7s
❯ RUST_BACKTRACE=full hyprland-autoname-workspaces
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: SerdeError(Error("invalid value: integer `-1`, expected u32", line: 59, column: 13))', src/renamer/mod.rs:32:38
stack backtrace:
0: 0x55e782d8185a - <unknown>
1: 0x55e782da306e - <unknown>
2: 0x55e782d7ec65 - <unknown>
3: 0x55e782d81625 - <unknown>
4: 0x55e782d82e0f - <unknown>
5: 0x55e782d82b4b - <unknown>
6: 0x55e782d8351c - <unknown>
7: 0x55e782d832b9 - <unknown>
8: 0x55e782d81d0c - <unknown>
9: 0x55e782d82fc2 - <unknown>
10: 0x55e782c34a33 - <unknown>
11: 0x55e782c34ec3 - <unknown>
12: 0x55e782c4c881 - <unknown>
13: 0x55e782c8b0e7 - <unknown>
14: 0x55e782c7dedc - <unknown>
15: 0x55e782c80900 - <unknown>
16: 0x55e782c6391c - <unknown>
17: 0x55e782c66b97 - <unknown>
18: 0x55e782c37183 - <unknown>
19: 0x55e782c431c9 - <unknown>
20: 0x55e782d7a0ac - <unknown>
21: 0x55e782c67425 - <unknown>
22: 0x7fd55787d790 - <unknown>
23: 0x7fd55787d84a - __libc_start_main
24: 0x55e782c35005 - <unknown>
25: 0x0 - <unknown>
*edit: tried using a simple config like this:
# Add your icons mapping
# use double quote the key and the value
# take class name from 'hyprctl clients'
[icons]
"DEFAULT" = "-"
"foot" = ""
"Firefox Beta" = ""
[exclude]
same result
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16
yup! now it works! thanks!!!
OMG, @pbosab sorry, got it, I still forgot to do
cargo update
beforecargo build --release
on my side to update theCargo.lock
. We were not hiting the same commit on my branch fork for the lib. As hyrpland-rs merge my pull request, I change it back to his repository. Both hyprland and hyprland-rs are in active development so this move quick …Tell me if it is good for you now.
think i’ve solved the mistery: with hyprland works with hyprland-git dont.