From 1138cbf7981d40f98eea317dd29dd88eb7ea32d4 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 3 Oct 2019 13:50:11 +0200 Subject: [PATCH] [UPDATE][I3] Remove redshift-gtk service target Because I start the tray icon at i3's startup in my configuration file, I do not need to add redshift-gtk as a requirement to systemd's default target. This avoids having two redshift-gtk instances running. I also removed the systemctl calls to enable the services from the installation script. Maybe I'll switch back to using services instead of launching the tray-icon at i3's startup someday. --- install.sh | 4 ---- .../systemd/user/default.target.wants/redshift-gtk.service | 1 - 2 files changed, 5 deletions(-) delete mode 120000 redshift/.config/systemd/user/default.target.wants/redshift-gtk.service diff --git a/install.sh b/install.sh index 640a598..69ecc68 100755 --- a/install.sh +++ b/install.sh @@ -15,10 +15,6 @@ stow -t ~ tridactyl stow -t ~ vim stow -t ~ zsh -# Our Redshift services needs to be symlined -systemctl --user enable redshift &>/dev/null -systemctl --user enable redshift-gtk &>/dev/null - if ! [ -e ~/scripts ]; then # Only create the symlink when the directory doesn't exist mkdir ~/scripts diff --git a/redshift/.config/systemd/user/default.target.wants/redshift-gtk.service b/redshift/.config/systemd/user/default.target.wants/redshift-gtk.service deleted file mode 120000 index c4041e9..0000000 --- a/redshift/.config/systemd/user/default.target.wants/redshift-gtk.service +++ /dev/null @@ -1 +0,0 @@ -/home/ambroisie/.config/systemd/user/redshift-gtk.service \ No newline at end of file