Open Aster89 opened 2 years ago
$ setxkbmap -query rules: evdev model: pc105 layout: it
$ ./key_layout/key_layout | sed -z 's/it\n/YES\n/;s/it/NO\n/' YES
$ ./key_layout/key_layout | sed -z 's/it\n/YES\n/;s/it/NO\n/' NO
Irrelevant.
With reference to the example above, it instead of it\n.
it
it\n
My fix would be to simply append | sed 's/$/\n/' to the existing command. Tested and works for me. Gimme a go and I'll PR it.
| sed 's/$/\n/'
Given
Expected behavior
Actual behavior
i3blocks config relevant to blocklet(s)
Irrelevant.
Output of blocklet(s) when run from command line
With reference to the example above,
it
instead ofit\n
.Output of any relevant other commands that might help diagnostics