From d4645d2c48434ba7210921a7a170596fb987db03 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 19 Feb 2024 18:46:58 +0100 Subject: [yadm] bootstrap packages for complete install --- .config/yadm/scripts/bootstrap/gammastep/bootstrap | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 .config/yadm/scripts/bootstrap/gammastep/bootstrap (limited to '.config/yadm/scripts/bootstrap/gammastep') diff --git a/.config/yadm/scripts/bootstrap/gammastep/bootstrap b/.config/yadm/scripts/bootstrap/gammastep/bootstrap new file mode 100755 index 0000000..d3cedd1 --- /dev/null +++ b/.config/yadm/scripts/bootstrap/gammastep/bootstrap @@ -0,0 +1,13 @@ +#!/bin/zsh + + +sudo pacman -Sy gammastep + +if [[ -f "$HOME/.password-store/latitude.gpg" ]]; then + sudo ln -s "$HOME/.config/gammastep/systemd/gammastep-user@.service" /etc/systemd/user/ + systemctl --user enable "gammastep-user$(pass latitude):$(pass longitude)" --now +else + echo "[gammastep] setup pass and insert latitude and longitude first to enable the service unit." + echo "[gammastep] press Enter to acknowledge" + read ACK +fi -- cgit v1.2.3