autostart: Remove hardcoded DISPLAY
This commit is contained in:
@@ -4,4 +4,4 @@ After=windowmanager.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env blueman-applet
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -6,4 +6,4 @@ ConditionPathExists=%h/.var/run/features/discord
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env discord
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env dunst -config %h/.config/dunstrc
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env firefox --setDefaultBrowser -P default
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env gnome-keyring-daemon --start --foreground --components secrets
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[Service]
|
||||
Type=exec
|
||||
ExecStart=/usr/bin/env i3 --config %h/.i3/config
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
Restart=no
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -7,4 +7,4 @@ ConditionPathExists=%h/.var/run/features/nextcloud
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env nextcloud --background
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env nm-applet
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env pasystray
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env redshift-gtk -c %h/.config/redshift.conf
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -10,4 +10,4 @@ Type=oneshot
|
||||
# > allowed.
|
||||
ExecStart=/usr/bin/env screencfg "%h/.screencfg/%H/default.yml"
|
||||
RemainAfterExit=true
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env spotify
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -7,4 +7,4 @@ ConditionPathExists=%h/.var/run/features/steam
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env steam
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/env yubikey-touch-detector -libnotify
|
||||
Environment=DISPLAY=:0
|
||||
PassEnvironment=DISPLAY
|
||||
|
||||
Reference in New Issue
Block a user