diff options
Diffstat (limited to '.config/systemd')
25 files changed, 215 insertions, 0 deletions
diff --git a/.config/systemd/user/dapp-.service.d/00-ExecSearchPath.conf b/.config/systemd/user/dapp-.service.d/00-ExecSearchPath.conf new file mode 100644 index 0000000..3fdf3af --- /dev/null +++ b/.config/systemd/user/dapp-.service.d/00-ExecSearchPath.conf @@ -0,0 +1,4 @@ +[Service] +ExecSearchPath=%h/.local/bin +ExecSearchPath=/usr/local/bin +ExecSearchPath=/usr/bin diff --git a/.config/systemd/user/dapp-.service.d/00-WorkingDirectory.conf b/.config/systemd/user/dapp-.service.d/00-WorkingDirectory.conf new file mode 100644 index 0000000..d99a24c --- /dev/null +++ b/.config/systemd/user/dapp-.service.d/00-WorkingDirectory.conf @@ -0,0 +1,2 @@ +[Service] +WorkingDirectory=%h diff --git a/.config/systemd/user/dapp-bg-.service.d/00-Restart.conf b/.config/systemd/user/dapp-bg-.service.d/00-Restart.conf new file mode 100644 index 0000000..8a764e3 --- /dev/null +++ b/.config/systemd/user/dapp-bg-.service.d/00-Restart.conf @@ -0,0 +1,2 @@ +[Service] +Restart=always diff --git a/.config/systemd/user/dapp-bg-chwp.service b/.config/systemd/user/dapp-bg-chwp.service new file mode 100644 index 0000000..0aed15a --- /dev/null +++ b/.config/systemd/user/dapp-bg-chwp.service @@ -0,0 +1,12 @@ +[Unit] +Description=Change the wallpaper used in Xorg +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=oneshot +ExecStart=chwp +Restart=on-failure + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-bg-chwp.service.d/00-Restart.conf b/.config/systemd/user/dapp-bg-chwp.service.d/00-Restart.conf new file mode 100644 index 0000000..eedb19c --- /dev/null +++ b/.config/systemd/user/dapp-bg-chwp.service.d/00-Restart.conf @@ -0,0 +1,2 @@ +[Service] +Restart=on-failure diff --git a/.config/systemd/user/dapp-bg-chwp.timer b/.config/systemd/user/dapp-bg-chwp.timer new file mode 100644 index 0000000..947b3e0 --- /dev/null +++ b/.config/systemd/user/dapp-bg-chwp.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Change the wallpaper on a regular schedule +Requires=dapp-bg-chwp.service + +[Timer] +Unit=dapp-bg-chwp.service +OnUnitInactiveSec=1h + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-bg-dunst.service b/.config/systemd/user/dapp-bg-dunst.service new file mode 100644 index 0000000..d74d5b2 --- /dev/null +++ b/.config/systemd/user/dapp-bg-dunst.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run dunst +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/dunst + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-bg-ntfy@.service b/.config/systemd/user/dapp-bg-ntfy@.service new file mode 100644 index 0000000..bbf914c --- /dev/null +++ b/.config/systemd/user/dapp-bg-ntfy@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Run ntfy +After=network.target +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=ntfy subscribe "%i" 'notify-send "$t" "$m"' + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-bg-redshift.service b/.config/systemd/user/dapp-bg-redshift.service new file mode 100644 index 0000000..fe996e9 --- /dev/null +++ b/.config/systemd/user/dapp-bg-redshift.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run redshift +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=redshift -l 51.50:4.59 -t 6500:3500 + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-bg-sxhkd.service b/.config/systemd/user/dapp-bg-sxhkd.service new file mode 100644 index 0000000..f345544 --- /dev/null +++ b/.config/systemd/user/dapp-bg-sxhkd.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run the Simple X HotKey Daemon +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=/usr/bin/sxhkd + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-bg-xcompmgr.service b/.config/systemd/user/dapp-bg-xcompmgr.service new file mode 100644 index 0000000..153ca81 --- /dev/null +++ b/.config/systemd/user/dapp-bg-xcompmgr.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run the X Compositing Manager +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=xcompmgr + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-fg-.service.d/00-Restart.conf b/.config/systemd/user/dapp-fg-.service.d/00-Restart.conf new file mode 100644 index 0000000..eedb19c --- /dev/null +++ b/.config/systemd/user/dapp-fg-.service.d/00-Restart.conf @@ -0,0 +1,2 @@ +[Service] +Restart=on-failure diff --git a/.config/systemd/user/dapp-fg-chromium.service b/.config/systemd/user/dapp-fg-chromium.service new file mode 100644 index 0000000..48a8283 --- /dev/null +++ b/.config/systemd/user/dapp-fg-chromium.service @@ -0,0 +1,11 @@ +[Unit] +Description=Manage an x11 application +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=chromium + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-fg-firefox.service b/.config/systemd/user/dapp-fg-firefox.service new file mode 100644 index 0000000..0d434cc --- /dev/null +++ b/.config/systemd/user/dapp-fg-firefox.service @@ -0,0 +1,11 @@ +[Unit] +Description=Manage an x11 application +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=firefox + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-fg-gajim.service b/.config/systemd/user/dapp-fg-gajim.service new file mode 100644 index 0000000..0ed24f0 --- /dev/null +++ b/.config/systemd/user/dapp-fg-gajim.service @@ -0,0 +1,11 @@ +[Unit] +Description=Manage an x11 application +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=gajim + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-fg-irc.service b/.config/systemd/user/dapp-fg-irc.service new file mode 100644 index 0000000..91cba0e --- /dev/null +++ b/.config/systemd/user/dapp-fg-irc.service @@ -0,0 +1,11 @@ +[Unit] +Description=Manage an x11 application +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=irc + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-fg-keepassxc.service b/.config/systemd/user/dapp-fg-keepassxc.service new file mode 100644 index 0000000..f93cfac --- /dev/null +++ b/.config/systemd/user/dapp-fg-keepassxc.service @@ -0,0 +1,11 @@ +[Unit] +Description=Manage an x11 application +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=keepassxc + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-fg-networkmanager.service b/.config/systemd/user/dapp-fg-networkmanager.service new file mode 100644 index 0000000..63b74b0 --- /dev/null +++ b/.config/systemd/user/dapp-fg-networkmanager.service @@ -0,0 +1,11 @@ +[Unit] +Description=Manage an x11 application +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=nm-applet + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/dapp-fg-nextcloud.service b/.config/systemd/user/dapp-fg-nextcloud.service new file mode 100644 index 0000000..7f175fd --- /dev/null +++ b/.config/systemd/user/dapp-fg-nextcloud.service @@ -0,0 +1,11 @@ +[Unit] +Description=Run the Nextcloud desktop application +After=graphical-session.target +Requires=graphical-session.target + +[Service] +Type=exec +ExecStart=nextcloud + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/wsys-.service.d/00-Target.conf b/.config/systemd/user/wsys-.service.d/00-Target.conf new file mode 100644 index 0000000..d80f469 --- /dev/null +++ b/.config/systemd/user/wsys-.service.d/00-Target.conf @@ -0,0 +1,6 @@ +[Service] +ExecStartPost=systemctl --user --no-block start wsys-xorg.target +ExecStartPost=systemctl --user --no-block start wsys.target + +ExecStopPost=systemctl --user stop wsys.target +ExecStopPost=systemctl --user stop wsys-xorg.target diff --git a/.config/systemd/user/wsys-xorg.service b/.config/systemd/user/wsys-xorg.service new file mode 100644 index 0000000..8c7a43a --- /dev/null +++ b/.config/systemd/user/wsys-xorg.service @@ -0,0 +1,20 @@ +# Ensure you are allowed to run X.org as a regular non-console user! + +# /etc/X11/Xwrapper.conf +# allowed_users=anybody +# needs_root_rights=yes + +[Unit] +Description=Xorg server at display :0 + +Requires=wsys-xorg.socket +After=wsys-xorg.socket +Before=wsys.target + +[Service] +Type=simple +SuccessExitStatus=0 1 + +ExecStart=/usr/bin/Xorg :0 -nolisten tcp -noreset -verbose 2 "vt1" +ExecStartPost=systemctl --user import-environment DISPLAY +ExecStartPost=systemctl --user import-environment XAUTHORITY diff --git a/.config/systemd/user/wsys-xorg.socket b/.config/systemd/user/wsys-xorg.socket new file mode 100644 index 0000000..f471dab --- /dev/null +++ b/.config/systemd/user/wsys-xorg.socket @@ -0,0 +1,5 @@ +[Unit] +Description=Socket for xorg at display :1 + +[Socket] +ListenStream=/tmp/.X11-unix/X1 diff --git a/.config/systemd/user/wsys-xorg.target b/.config/systemd/user/wsys-xorg.target new file mode 100644 index 0000000..248722e --- /dev/null +++ b/.config/systemd/user/wsys-xorg.target @@ -0,0 +1,3 @@ +[Unit] +Before = wsys.target +Description = Window System managed by X.org diff --git a/.config/systemd/user/wsys.target b/.config/systemd/user/wsys.target new file mode 100644 index 0000000..60a9c9f --- /dev/null +++ b/.config/systemd/user/wsys.target @@ -0,0 +1,2 @@ +[Unit] +Description = Window System diff --git a/.config/systemd/user/xss-lock.service b/.config/systemd/user/xss-lock.service new file mode 100644 index 0000000..7b059d6 --- /dev/null +++ b/.config/systemd/user/xss-lock.service @@ -0,0 +1,12 @@ +[Unit] +Description=Start xss-lock +PartOf=graphical-session.target + +[Service] +Type=exec +Environment=DISPLAY=:0 +ExecStart=/usr/bin/xss-lock -- i3lock -c '#000000' -n +Restart=on-failure + +[Install] +WantedBy=desktop-x11.target |