diff --git a/.SRCINFO b/.SRCINFO index 8c346366dcb4..962d79f26c38 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 diff --git a/PKGBUILD b/PKGBUILD index 4cce256ba345..d28e7d5c6398 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -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" diff --git a/alacritty-use-theme-with-gnome-darkmode-git.install b/alacritty-use-theme-with-gnome-darkmode-git.install new file mode 100644 index 000000000000..1630c1d6b4eb --- /dev/null +++ b/alacritty-use-theme-with-gnome-darkmode-git.install @@ -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" +} + diff --git a/alacritty-use-theme-with-redshift-git.install b/alacritty-use-theme-with-redshift-git.install new file mode 100644 index 000000000000..80c404a58e87 --- /dev/null +++ b/alacritty-use-theme-with-redshift-git.install @@ -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" +}