waybar/src/modules
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
..
cpu fix: cpu_load pushed twice to the vector 2023-01-05 01:10:04 +01:00
hyprland Fix kbName initialization 2023-01-29 13:14:05 +01:00
memory Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
mpd Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
mpris Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
river Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
sni refactor: remove warning 2022-12-01 08:45:12 +01:00
sway fix: compilation errors with cpp_std=c++20 2023-01-20 22:50:02 -08:00
upower Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
wlr Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
backlight.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
battery.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
bluetooth.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
clock.cpp Clock. Formating simplify 2023-01-27 15:57:18 +03:00
custom.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
disk.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
gamemode.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
idle_inhibitor.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
image.cpp fix linting issues 2023-01-24 14:53:49 -05:00
inhibitor.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
jack.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
keyboard_state.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
network.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
pulseaudio.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
simpleclock.cpp modules: Revert button to label 2022-11-24 13:08:16 +01:00
sndio.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
temperature.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
user.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00
wireplumber.cpp Merge branch 'master' into YearCalendar 2023-01-23 18:42:32 +03:00