feat: Include install scripts for services

This commit is contained in:
Christopher MCAdams 2026-02-04 13:22:39 -05:00
parent a794d34891
commit f4fb9aba78
4 changed files with 17 additions and 0 deletions

View file

@ -15,6 +15,7 @@ pkgbase = alacritty-use-theme-with-services-git
pkgname = alacritty-use-theme-with-redshift-git
pkgdesc = ::Rolling release:: Changes alacritty theme based on the current time and locale
install = alacritty-use-theme-with-redshift-git.install
depends = redshift
depends = alacritty-use-theme
provides = alaritty-use-theme-with-redshift.service
@ -26,6 +27,7 @@ pkgname = alacritty-use-theme-with-redshift-git
pkgname = alacritty-use-theme-with-gnome-darkmode-git
pkgdesc = ::Rolling release:: Changes alacritty theme when clicking the 'Dark Style' button in Gnome's System tray
url = https://github.com/alacritty-use-theme/alacritty-use-theme-with-gnome-darkmode
install = alacritty-use-theme-with-gnome-darkmode-git.install
depends = bash
depends = awk
depends = alacritty-use-theme

View file

@ -24,6 +24,7 @@ package_alacritty-use-theme-with-redshift-git() {
depends=('redshift' 'alacritty-use-theme')
provides=('alaritty-use-theme-with-redshift.service' 'alaritty-use-theme-with-redshift.timer' 'alaritty-use-theme-with-redshift.target')
conflicts=('alacritty-use-theme-with-redshift' 'alacritty-use-theme-with-redshift-git')
install=alacritty-use-theme-with-redshift-git.install
cd "$pkgbase"
@ -59,6 +60,7 @@ package_alacritty-use-theme-with-gnome-darkmode-git() {
provides=('alacritty-listen-to-colorscheme.service')
conflicts=('alacritty-use-theme-with-gnome-darkmode')
replaces=('alacritty-use-theme-with-gnome-darkmode-git' 'alacritty-toggle-theme-on-darkmode-git')
install=alacritty-use-theme-with-gnome-darkmode-git.install
cd "$pkgbase"

View file

@ -0,0 +1,7 @@
post_install() {
echo -e "====================[alacritty-use-theme-with-gnome-darkmode]====================\n"
echo -e "Run this command to enable and start the service:"
echo "\`systemctl --user enable --now alacritty-listen-to-colorscheme.service\`"
echo -e "====================\n"
}

View file

@ -0,0 +1,6 @@
post_install() {
echo -e "====================[alacritty-use-theme-with-redshift]====================\n"
echo -e "Run this command to enable and start the services:"
echo -e "\`systemctl --user enable --now alacritty-use-theme.service alacritty-use-theme.timer alacritty-use-theme.target\`"
echo -e "====================\n"
}