autostart: Remove hardcoded DISPLAY
This commit is contained in:
@@ -4,4 +4,4 @@ After=windowmanager.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env blueman-applet
|
ExecStart=/usr/bin/env blueman-applet
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ ConditionPathExists=%h/.var/run/features/discord
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env discord
|
ExecStart=/usr/bin/env discord
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ After=windowmanager.target
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/env xset s off
|
ExecStart=/usr/bin/env xset s off
|
||||||
ExecStart=/usr/bin/env xset dpms 0 0 300
|
ExecStart=/usr/bin/env xset dpms 0 0 300
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env dunst -config %h/.config/dunstrc
|
ExecStart=/usr/bin/env dunst -config %h/.config/dunstrc
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env firefox --setDefaultBrowser -P default
|
ExecStart=/usr/bin/env firefox --setDefaultBrowser -P default
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env gnome-keyring-daemon --start --foreground --components secrets
|
ExecStart=/usr/bin/env gnome-keyring-daemon --start --foreground --components secrets
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ After=windowmanager.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/usr/bin/env gpg-agent --homedir %h/.gnupg --no-detach --daemon
|
ExecStart=/usr/bin/env gpg-agent --homedir %h/.gnupg --no-detach --daemon
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[Service]
|
[Service]
|
||||||
Type=exec
|
Type=exec
|
||||||
ExecStart=/usr/bin/env i3 --config %h/.i3/config
|
ExecStart=/usr/bin/env i3 --config %h/.i3/config
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|
||||||
Restart=no
|
Restart=no
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ ConditionPathExists=%h/.var/run/features/keepassx
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env keepassx --keyfile %h/.secret/main.key %h/.secret/main.kdbx
|
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 setxkbmap -layout de -variant nodeadkeys
|
||||||
ExecStart=/usr/bin/env xset r rate 150 50
|
ExecStart=/usr/bin/env xset r rate 150 50
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ ConditionPathExists=%h/.var/run/features/machine_is_laptop
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env bash -c 'grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup'
|
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]
|
[Service]
|
||||||
ExecStart=/usr/bin/env nextcloud --background
|
ExecStart=/usr/bin/env nextcloud --background
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env nm-applet
|
ExecStart=/usr/bin/env nm-applet
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env pasystray
|
ExecStart=/usr/bin/env pasystray
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env redshift-gtk -c %h/.config/redshift.conf
|
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
|
Type=oneshot
|
||||||
ExecStart=%h/bin/restic-backup
|
ExecStart=%h/bin/restic-backup
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -10,4 +10,4 @@ Type=oneshot
|
|||||||
# > allowed.
|
# > allowed.
|
||||||
ExecStart=/usr/bin/env screencfg "%h/.screencfg/%H/default.yml"
|
ExecStart=/usr/bin/env screencfg "%h/.screencfg/%H/default.yml"
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env spotify
|
ExecStart=/usr/bin/env spotify
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -7,4 +7,4 @@ ConditionPathExists=%h/.var/run/features/steam
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env steam
|
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 PalmMinWidth=20
|
||||||
ExecStart=/usr/bin/env synclient PalmMinZ=1
|
ExecStart=/usr/bin/env synclient PalmMinZ=1
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/env setrandom --recursive --onlylarge --mode=stretch /usr/share/wallpapers
|
ExecStart=/usr/bin/env setrandom --recursive --onlylarge --mode=stretch /usr/share/wallpapers
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -6,4 +6,4 @@ After=windowmanager.target
|
|||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/env xrdb -merge -I%h %h/.Xresources
|
ExecStart=/usr/bin/env xrdb -merge -I%h %h/.Xresources
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ After=windowmanager.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env yubikey-touch-detector -libnotify
|
ExecStart=/usr/bin/env yubikey-touch-detector -libnotify
|
||||||
Environment=DISPLAY=:0
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
Reference in New Issue
Block a user