From ff9b5c93a1a0a328fbc6596aa0305090a53db845 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Thu, 9 Jan 2025 09:11:12 +0100 Subject: [PATCH] sway: add/update services --- systemd/user/dunst.service | 12 ++++++++++++ systemd/user/nextcloud.service | 10 ++++++++++ systemd/user/nm-applet.service | 10 ++++++++++ systemd/user/waybar.service | 2 +- 4 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 systemd/user/dunst.service create mode 100644 systemd/user/nextcloud.service create mode 100644 systemd/user/nm-applet.service diff --git a/systemd/user/dunst.service b/systemd/user/dunst.service new file mode 100644 index 0000000..c3af2ca --- /dev/null +++ b/systemd/user/dunst.service @@ -0,0 +1,12 @@ +X[Unit] +Description=Dunst notification daemon +Documentation=man:dunst(1) +PartOf=graphical-session.target + +[Service] +Type=dbus +BusName=org.freedesktop.Notifications +ExecStart=/usr/bin/dunst + +[Install] +WantedBy=graphical-session.target diff --git a/systemd/user/nextcloud.service b/systemd/user/nextcloud.service new file mode 100644 index 0000000..13d2674 --- /dev/null +++ b/systemd/user/nextcloud.service @@ -0,0 +1,10 @@ +X[Unit] +Description=Nextcloud Desktop +PartOf=graphical-session.target + +[Service] +ExecStart=/usr/bin/nextcloud --background +Restart=on-failure + +[Install] +WantedBy=graphical-session.target diff --git a/systemd/user/nm-applet.service b/systemd/user/nm-applet.service new file mode 100644 index 0000000..b980815 --- /dev/null +++ b/systemd/user/nm-applet.service @@ -0,0 +1,10 @@ +X[Unit] +Description=Network Manager Applet +PartOf=graphical-session.target + +[Service] +ExecStart=/usr/bin/nm-applet --indicator +Restart=on-failure + +[Install] +WantedBy=graphical-session.target diff --git a/systemd/user/waybar.service b/systemd/user/waybar.service index ccaf6fa..873ea57 100644 --- a/systemd/user/waybar.service +++ b/systemd/user/waybar.service @@ -6,7 +6,7 @@ After=graphical-session.target Requisite=graphical-session.target [Service] -ExecStart=env LC_TIME=de_DE.UTF-8 /usr/bin/waybar +ExecStart=/usr/bin/waybar ExecReload=kill -SIGUSR2 $MAINPID Restart=on-failure