summaryrefslogtreecommitdiff
path: root/install/safeeyes.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-14 22:50:55 +1000
committerGitHub <noreply@github.com>2025-06-14 22:50:55 +1000
commitee7291b7f64a359d17eb1d050086ef5357d79055 (patch)
treef1c200d8c8ba81030cbb2113a2be122db6508c8f /install/safeeyes.fish
parentMerge pull request #5 from dalpax/patch-1 (diff)
parentMerge branch 'main' into python-rework (diff)
downloadcaelestia-cli-ee7291b7f64a359d17eb1d050086ef5357d79055.tar.gz
caelestia-cli-ee7291b7f64a359d17eb1d050086ef5357d79055.tar.bz2
caelestia-cli-ee7291b7f64a359d17eb1d050086ef5357d79055.zip
Merge pull request #6 from caelestia-dots/python-rework
feat: rewrite in python
Diffstat (limited to 'install/safeeyes.fish')
-rwxr-xr-xinstall/safeeyes.fish34
1 files changed, 0 insertions, 34 deletions
diff --git a/install/safeeyes.fish b/install/safeeyes.fish
deleted file mode 100755
index bbea62b..0000000
--- a/install/safeeyes.fish
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env fish
-
-. (dirname (status filename))/util.fish
-
-install-deps git dart-sass aylurs-gtk-shell-git alsa-utils libappindicator-gtk3
-
-# Update/Clone repo
-update-repo safeeyes $C_DATA/safeeyes
-
-if which systemctl &> /dev/null
- log 'Installing systemd service...'
-
- set -l systemd $CONFIG/systemd/user
- mkdir -p $systemd
- echo -n "
-[Unit]
-Description=Protect your eyes from eye strain using this simple and beautiful, yet extensible break reminder.
-After=graphical-session.target
-
-[Service]
-Type=exec
-ExecStart=/usr/bin/ags run -d $C_DATA/safeeyes
-Restart=on-failure
-Slice=app-graphical.slice
-
-[Install]
-WantedBy=graphical-session.target
-" > $systemd/caelestia-safeeyes.service
-
- systemctl --user daemon-reload
- systemctl --user enable --now caelestia-safeeyes.service
-end
-
-log 'Done.'