You are not logged in.
I always use my apps in full screen, but I would like to know my battery status once in a while as a notification when I press a keyboard shortcut in XFCE.
If I am in my terminal, I simply execute
$ notify-send "`acpi`"
This gives me a nice pop-up with my battery status.
However, I want to be able to do this with a shortcut.
If I add the same command in keyboard shortcuts for XFCE, the notification simply says `acpi`.
I think bash expands `acpi`, whereas XFCE application shortcuts doesn't.
How do I solve this?
Last edited by pyari_billi (2022-04-03 13:18:16)
Offline
bash -c 'notify-send "`acpi`"'
Offline