summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2023-10-30 09:39:18 +0100
committerDaniel Weipert <code@drogueronin.de>2023-10-30 09:52:23 +0100
commit642148b24fcfb50220dcb6db29f7a3edf32541e3 (patch)
treeb3331b0415a5d365a7d0526ddf4f06cad7929db8 /.config
parentc58ca46057301bc93c6fb3e1a1a4933335975885 (diff)
[gammastep] use "pass" to pass location
Diffstat (limited to '.config')
-rw-r--r--.config/gammastep/systemd/gammastep-user.service4
-rwxr-xr-x.config/yadm/bootstrap4
2 files changed, 4 insertions, 4 deletions
diff --git a/.config/gammastep/systemd/gammastep-user.service b/.config/gammastep/systemd/gammastep-user.service
index dadf8e0..65aefcf 100644
--- a/.config/gammastep/systemd/gammastep-user.service
+++ b/.config/gammastep/systemd/gammastep-user.service
@@ -1,8 +1,8 @@
[Unit]
-Description=gammastep
+Description=gammastep at %I
[Service]
-ExecStart=/usr/bin/gammastep
+ExecStart=/usr/bin/gammastep -l %I
Restart=on-failure
RestartSec=5
diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap
index 06e079f..9be53e9 100755
--- a/.config/yadm/bootstrap
+++ b/.config/yadm/bootstrap
@@ -32,8 +32,8 @@ fi
# #
if command -v gammastep > /dev/null 2>&1; then
- sudo ln -s "$HOME/.config/gammastep/systemd/gammastep-user.service" /etc/systemd/user/
- systemctl --user enable "gammastep-user" --now
+ sudo ln -s "$HOME/.config/gammastep/systemd/gammastep-user@.service" /etc/systemd/user/
+ systemctl --user enable "gammastep-user$(pass latitude):$(pass longitude)" --now
fi
# #