Add element autostart

This commit is contained in:
2021-02-01 20:38:22 +01:00
parent e6bee6f56b
commit 90ec23a80a
6 changed files with 19 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ Wants=blueman.service
Wants=discord.service
Wants=dpms.service
Wants=dunst.service
Wants=element.service
Wants=firefox.service
Wants=gpg-agent.service
Wants=gnome-keyring.service

View File

@@ -0,0 +1,10 @@
[Unit]
BindsTo=autostart.target
After=windowmanager.target
After=i3.service
ConditionPathExists=%h/.var/run/features/element
[Service]
ExecStart=/usr/bin/env element-desktop
PassEnvironment=DISPLAY