summarylogtreecommitdiffstats
path: root/hyprcursor-sync.install
blob: 6b5b62bc29e92e27980b81ab342a6634b86b64d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
  echo ':: Enabling cursor-update automation globally...'
  systemctl --global enable cursor-update.path
  echo ':: Note: Automation will start for your user on next login.'
  echo ':: To start now: systemctl --user enable --now cursor-update.path'
}

post_upgrade() {
  systemctl --global daemon-reload
}

pre_remove() {
  echo ':: Disabling cursor-update automation...'
  systemctl --global disable cursor-update.path
}