Open apatel762 opened 2 years ago
https://wiki.archlinux.org/title/Desktop_notifications#Bash
Some documentation about scripting desktop notifications in bash. Need a way of reliably getting the user id and username for the user that we are installing our systemd service for, or else the notifications won't work
not sure how this would work actually, because I would need my ssh keys to be loaded for the git fetch
to even work
the approach would be something like
git fetch
origin/master
is ahead ofmaster
if so, warn the user to
git pull
and re-apply the playbook configcould make this into a systemd unit that runs in the background, but not sure if notifications would work (e.g. via
notify-send
- https://old.reddit.com/r/linux/comments/ea2qo/my_bash_scripts_just_got_so_much_cooler_i_just/c16j1zc/)--wait
to make the notification sticky--urgency=low
as well, just because