From d6084153819efa094200d850bbbcddf79876140f Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Tue, 6 Feb 2024 11:26:35 +0100 Subject: Add services to start up with --- .config/systemd/user/chwp.service | 11 +++++++++++ .config/systemd/user/dunst.service | 11 +++++++++++ .config/systemd/user/evolution.service | 11 +++++++++++ .config/systemd/user/firefox.service | 11 +++++++++++ .config/systemd/user/keepassxc.service | 11 +++++++++++ .config/systemd/user/nm-applet.service | 11 +++++++++++ .config/systemd/user/ntfy.service | 11 +++++++++++ .config/systemd/user/redshift.service | 11 +++++++++++ .config/systemd/user/sxhkd.service | 11 +++++++++++ .config/systemd/user/xcompmgr.service | 11 +++++++++++ .config/systemd/user/xss-lock.service | 11 +++++++++++ 11 files changed, 121 insertions(+) create mode 100644 .config/systemd/user/chwp.service create mode 100644 .config/systemd/user/dunst.service create mode 100644 .config/systemd/user/evolution.service create mode 100644 .config/systemd/user/firefox.service create mode 100644 .config/systemd/user/keepassxc.service create mode 100644 .config/systemd/user/nm-applet.service create mode 100644 .config/systemd/user/ntfy.service create mode 100644 .config/systemd/user/redshift.service create mode 100644 .config/systemd/user/sxhkd.service create mode 100644 .config/systemd/user/xcompmgr.service create mode 100644 .config/systemd/user/xss-lock.service diff --git a/.config/systemd/user/chwp.service b/.config/systemd/user/chwp.service new file mode 100644 index 0000000..c9356f0 --- /dev/null +++ b/.config/systemd/user/chwp.service @@ -0,0 +1,11 @@ +[Unit] +Description=Change wallpaper on x11 +PartOf=graphical-session.target + +[Service] +Type=oneshot +ExecStart=/bin/sh -c "exec $HOME/.local/bin/chwp" +Restart=on-failure + +[Install] +WantedBy=desktop-x11.target diff --git a/.config/systemd/user/dunst.service b/.config/systemd/user/dunst.service new file mode 100644 index 0000000..6301a41 --- /dev/null +++ b/.config/systemd/user/dunst.service @@ -0,0 +1,11 @@ +[Unit] +Description=Start dunst +PartOf=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/dunst +Restart=on-failure + +[Install] +WantedBy=desktop.target diff --git a/.config/systemd/user/evolution.service b/.config/systemd/user/evolution.service new file mode 100644 index 0000000..c60bca7 --- /dev/null +++ b/.config/systemd/user/evolution.service @@ -0,0 +1,11 @@ +[Unit] +Description=Start Evolution +PartOf=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/evolution +Restart=on-failure + +[Install] +WantedBy=desktop.target diff --git a/.config/systemd/user/firefox.service b/.config/systemd/user/firefox.service new file mode 100644 index 0000000..869d1bd --- /dev/null +++ b/.config/systemd/user/firefox.service @@ -0,0 +1,11 @@ +[Unit] +Description=Start Firefox +PartOf=graphical-session.target + +[Service] +Type=exec +ExecStart=/bin/sh -c "exec $HOME/.local/bin/firefox" +Restart=on-failure + +[Install] +WantedBy=desktop.target diff --git a/.config/systemd/user/keepassxc.service b/.config/systemd/user/keepassxc.service new file mode 100644 index 0000000..75ac2b4 --- /dev/null +++ b/.config/systemd/user/keepassxc.service @@ -0,0 +1,11 @@ +[Unit] +Description=Start KeePassXC +PartOf=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/keepassxc +Restart=on-failure + +[Install] +WantedBy=desktop.target diff --git a/.config/systemd/user/nm-applet.service b/.config/systemd/user/nm-applet.service new file mode 100644 index 0000000..a88498c --- /dev/null +++ b/.config/systemd/user/nm-applet.service @@ -0,0 +1,11 @@ +[Unit] +Description=Start the NetworkManager applet +PartOf=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/nm-applet +Restart=on-failure + +[Install] +WantedBy=desktop.target diff --git a/.config/systemd/user/ntfy.service b/.config/systemd/user/ntfy.service new file mode 100644 index 0000000..0906333 --- /dev/null +++ b/.config/systemd/user/ntfy.service @@ -0,0 +1,11 @@ +[Unit] +Description=Start ntfy +PartOf=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/ntfy subscribe --from-config +Restart=on-failure + +[Install] +WantedBy=desktop.target diff --git a/.config/systemd/user/redshift.service b/.config/systemd/user/redshift.service new file mode 100644 index 0000000..a63fa5d --- /dev/null +++ b/.config/systemd/user/redshift.service @@ -0,0 +1,11 @@ +[Unit] +Description=Start redshift +PartOf=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/redshift -l 51.50:4.59 -t 6500:3500 +Restart=on-failure + +[Install] +WantedBy=desktop-x11.target diff --git a/.config/systemd/user/sxhkd.service b/.config/systemd/user/sxhkd.service new file mode 100644 index 0000000..b8a806f --- /dev/null +++ b/.config/systemd/user/sxhkd.service @@ -0,0 +1,11 @@ +[Unit] +Description=Start sxhkd +PartOf=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/sxhkd +Restart=on-failure + +[Install] +WantedBy=desktop-x11.target diff --git a/.config/systemd/user/xcompmgr.service b/.config/systemd/user/xcompmgr.service new file mode 100644 index 0000000..2de0721 --- /dev/null +++ b/.config/systemd/user/xcompmgr.service @@ -0,0 +1,11 @@ +[Unit] +Description=Start xcompmgr +PartOf=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/xcompmgr +Restart=on-failure + +[Install] +WantedBy=desktop-x11.target diff --git a/.config/systemd/user/xss-lock.service b/.config/systemd/user/xss-lock.service new file mode 100644 index 0000000..072a268 --- /dev/null +++ b/.config/systemd/user/xss-lock.service @@ -0,0 +1,11 @@ +[Unit] +Description=Start xss-lock +PartOf=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/xss-lock -- i3lock -c '#000000' -n +Restart=on-failure + +[Install] +WantedBy=desktop-x11.target -- cgit v1.1