autostart: Remove hardcoded DISPLAY

This commit is contained in:
Hannes Körber
2021-01-30 21:06:08 +01:00
parent 55477c5919
commit 39b45df38e
23 changed files with 23 additions and 23 deletions

View File

@@ -4,4 +4,4 @@ After=windowmanager.target
[Service]
ExecStart=/usr/bin/env blueman-applet
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -6,4 +6,4 @@ ConditionPathExists=%h/.var/run/features/discord
[Service]
ExecStart=/usr/bin/env discord
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -6,4 +6,4 @@ After=windowmanager.target
Type=oneshot
ExecStart=/usr/bin/env xset s off
ExecStart=/usr/bin/env xset dpms 0 0 300
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -4,4 +4,4 @@ After=windowmanager.target
[Service]
ExecStart=/usr/bin/env dunst -config %h/.config/dunstrc
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -4,4 +4,4 @@ After=windowmanager.target
[Service]
ExecStart=/usr/bin/env firefox --setDefaultBrowser -P default
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -4,4 +4,4 @@ After=windowmanager.target
[Service]
ExecStart=/usr/bin/env gnome-keyring-daemon --start --foreground --components secrets
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -5,4 +5,4 @@ After=windowmanager.target
[Service]
Type=forking
ExecStart=/usr/bin/env gpg-agent --homedir %h/.gnupg --no-detach --daemon
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -1,6 +1,6 @@
[Service]
Type=exec
ExecStart=/usr/bin/env i3 --config %h/.i3/config
Environment=DISPLAY=:0
PassEnvironment=DISPLAY
Restart=no

View File

@@ -5,4 +5,4 @@ ConditionPathExists=%h/.var/run/features/keepassx
[Service]
ExecStart=/usr/bin/env keepassx --keyfile %h/.secret/main.key %h/.secret/main.kdbx
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -7,4 +7,4 @@ Type=oneshot
ExecStart=/usr/bin/env setxkbmap -layout de -variant nodeadkeys
ExecStart=/usr/bin/env xset r rate 150 50
RemainAfterExit=true
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -5,4 +5,4 @@ ConditionPathExists=%h/.var/run/features/machine_is_laptop
[Service]
ExecStart=/usr/bin/env bash -c 'grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup'
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -7,4 +7,4 @@ ConditionPathExists=%h/.var/run/features/nextcloud
[Service]
ExecStart=/usr/bin/env nextcloud --background
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -4,4 +4,4 @@ After=windowmanager.target
[Service]
ExecStart=/usr/bin/env nm-applet
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -4,4 +4,4 @@ After=windowmanager.target
[Service]
ExecStart=/usr/bin/env pasystray
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -4,4 +4,4 @@ After=windowmanager.target
[Service]
ExecStart=/usr/bin/env redshift-gtk -c %h/.config/redshift.conf
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -5,4 +5,4 @@ ConditionPathExists=%h/.var/run/features/restic_backup
Type=oneshot
ExecStart=%h/bin/restic-backup
RemainAfterExit=true
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -10,4 +10,4 @@ Type=oneshot
# > allowed.
ExecStart=/usr/bin/env screencfg "%h/.screencfg/%H/default.yml"
RemainAfterExit=true
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -4,4 +4,4 @@ After=windowmanager.target
[Service]
ExecStart=/usr/bin/env spotify
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -7,4 +7,4 @@ ConditionPathExists=%h/.var/run/features/steam
[Service]
ExecStart=/usr/bin/env steam
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -15,4 +15,4 @@ ExecStart=/usr/bin/env synclient PalmDetect=1
ExecStart=/usr/bin/env synclient PalmMinWidth=20
ExecStart=/usr/bin/env synclient PalmMinZ=1
RemainAfterExit=true
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -2,4 +2,4 @@
Type=oneshot
ExecStart=/usr/bin/env setrandom --recursive --onlylarge --mode=stretch /usr/share/wallpapers
RemainAfterExit=true
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -6,4 +6,4 @@ After=windowmanager.target
Type=oneshot
ExecStart=/usr/bin/env xrdb -merge -I%h %h/.Xresources
RemainAfterExit=true
Environment=DISPLAY=:0
PassEnvironment=DISPLAY

View File

@@ -4,4 +4,4 @@ After=windowmanager.target
[Service]
ExecStart=/usr/bin/env yubikey-touch-detector -libnotify
Environment=DISPLAY=:0
PassEnvironment=DISPLAY