i have in my awesomerc
awful.spawn.easy_async_with_shell("cat ~/file | tr -d '\n'", function(out)
brightness_id = naughty.notify({text=out, replaces_id=brightness_id}).
end)
the ~/file file literally only has "notification" in it. no trailing newlines whatsoever. but naughty.notify produces
even though i made sure to tr -d '\n'
, it still gives the ugly newline at the end…
is there any way to not have this happen?
OS: Manjaro Linux x86_64
Kernel: 5.2.11-1-MANJARO
WM: awesome