Waybar/src
Oleksandr Kulkov 220b859948
Fix kbName initialization
Second argument of substr is the length of the substring, _not_ the position. With positions, it's better to do like this.

Example:
```sh
[2023-01-29 13:08:00.927] [debug] hyprland IPC received activelayout>>ITE Tech. Inc. ITE Device(8910) Keyboard,Russian (with Ukrainian-Belorussian layout)
[2023-01-29 13:08:00.927] [debug] kbName is ITE Tech. Inc. ITE Device(8910) Keyboard,Russian (with
```

After the fix it's correct:
```sh
[2023-01-29 13:11:11.408] [debug] hyprland IPC received activelayout>>ITE Tech. Inc. ITE Device(8910) Keyboard,Russian (with Ukrainian-Belorussian layout)
[2023-01-29 13:11:11.408] [debug] kbName is ITE Tech. Inc. ITE Device(8910) Keyboard
```
2023-01-29 13:14:05 +01:00
..
modules Fix kbName initialization 2023-01-29 13:14:05 +01:00
util Refactor rewriteTitle 2022-10-19 13:25:08 +02:00
AIconLabel.cpp refactor: disable icon by default 2022-03-10 09:48:50 +01:00
ALabel.cpp refactor: lint 2022-04-06 08:37:19 +02:00
AModule.cpp refactor: lint 2022-04-06 08:37:19 +02:00
bar.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
client.cpp fix: adapt to fmt 9.0.0 breaking changes 2022-07-13 22:36:32 -07:00
config.cpp Update config.cpp 2022-09-07 10:33:57 +02:00
factory.cpp fix linting issues 2023-01-24 14:53:49 -05:00
group.cpp refactor: lint 2022-04-06 08:37:19 +02:00
main.cpp refactor: lint 2022-04-06 08:37:19 +02:00