Add element autostart
This commit is contained in:
@@ -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
|
||||
|
||||
10
autostart/services/element.service
Normal file
10
autostart/services/element.service
Normal 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
|
||||
Reference in New Issue
Block a user