notification service initial
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Purpose : Install and enable the timer that checks for a new version of
|
||||
# CoreDesktop and shows a GNOME notification (system/update-check).
|
||||
# Run by install.sh and on every update (updates.d/16-update-notify.sh)
|
||||
# so changes to the units reach existing machines.
|
||||
|
||||
set -e
|
||||
|
||||
COREDESKTOP="$HOME/.local/share/coredesktop"
|
||||
UNITS="$HOME/.config/systemd/user"
|
||||
|
||||
mkdir -p "$UNITS"
|
||||
cp "$COREDESKTOP"/system/systemd/coredesktop-update-check.{service,timer} "$UNITS/"
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable --now coredesktop-update-check.timer
|
||||
Reference in New Issue
Block a user