diff --git a/autostart/services/blueman.service b/autostart/services/blueman.service index 1fd177c..ba23e1a 100644 --- a/autostart/services/blueman.service +++ b/autostart/services/blueman.service @@ -4,4 +4,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env blueman-applet -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/discord.service b/autostart/services/discord.service index 1c481a8..f7cd780 100644 --- a/autostart/services/discord.service +++ b/autostart/services/discord.service @@ -6,4 +6,4 @@ ConditionPathExists=%h/.var/run/features/discord [Service] ExecStart=/usr/bin/env discord -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/dpms.service b/autostart/services/dpms.service index 84864ec..e0aa869 100644 --- a/autostart/services/dpms.service +++ b/autostart/services/dpms.service @@ -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 diff --git a/autostart/services/dunst.service b/autostart/services/dunst.service index 908354b..7834836 100644 --- a/autostart/services/dunst.service +++ b/autostart/services/dunst.service @@ -4,4 +4,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env dunst -config %h/.config/dunstrc -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/firefox.service b/autostart/services/firefox.service index 1a2747c..6d794ef 100644 --- a/autostart/services/firefox.service +++ b/autostart/services/firefox.service @@ -4,4 +4,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env firefox --setDefaultBrowser -P default -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/gnome-keyring.service b/autostart/services/gnome-keyring.service index dcfa04e..ccad6ce 100644 --- a/autostart/services/gnome-keyring.service +++ b/autostart/services/gnome-keyring.service @@ -4,4 +4,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env gnome-keyring-daemon --start --foreground --components secrets -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/gpg-agent.service b/autostart/services/gpg-agent.service index 6ea7a2d..32dc098 100644 --- a/autostart/services/gpg-agent.service +++ b/autostart/services/gpg-agent.service @@ -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 diff --git a/autostart/services/i3.service b/autostart/services/i3.service index 693b59f..8e3c60b 100644 --- a/autostart/services/i3.service +++ b/autostart/services/i3.service @@ -1,6 +1,6 @@ [Service] Type=exec ExecStart=/usr/bin/env i3 --config %h/.i3/config -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY Restart=no diff --git a/autostart/services/keepassx.service b/autostart/services/keepassx.service index 77dfa17..95a1da3 100644 --- a/autostart/services/keepassx.service +++ b/autostart/services/keepassx.service @@ -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 diff --git a/autostart/services/keyboard.service b/autostart/services/keyboard.service index cefd05b..a2e5b0f 100644 --- a/autostart/services/keyboard.service +++ b/autostart/services/keyboard.service @@ -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 diff --git a/autostart/services/laptop-lid.service b/autostart/services/laptop-lid.service index f012320..78e4868 100644 --- a/autostart/services/laptop-lid.service +++ b/autostart/services/laptop-lid.service @@ -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 diff --git a/autostart/services/nextcloud.service b/autostart/services/nextcloud.service index dd19541..3f061f9 100644 --- a/autostart/services/nextcloud.service +++ b/autostart/services/nextcloud.service @@ -7,4 +7,4 @@ ConditionPathExists=%h/.var/run/features/nextcloud [Service] ExecStart=/usr/bin/env nextcloud --background -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/nm-applet.service b/autostart/services/nm-applet.service index 2abfeca..dd93d28 100644 --- a/autostart/services/nm-applet.service +++ b/autostart/services/nm-applet.service @@ -4,4 +4,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env nm-applet -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/pasystray.service b/autostart/services/pasystray.service index 48f7e16..45e3946 100644 --- a/autostart/services/pasystray.service +++ b/autostart/services/pasystray.service @@ -4,4 +4,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env pasystray -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/redshift.service b/autostart/services/redshift.service index 547109c..100c7c4 100644 --- a/autostart/services/redshift.service +++ b/autostart/services/redshift.service @@ -4,4 +4,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env redshift-gtk -c %h/.config/redshift.conf -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/restic.service b/autostart/services/restic.service index 5c3b529..8fb21bf 100644 --- a/autostart/services/restic.service +++ b/autostart/services/restic.service @@ -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 diff --git a/autostart/services/screencfg.service b/autostart/services/screencfg.service index 90d9357..362749f 100644 --- a/autostart/services/screencfg.service +++ b/autostart/services/screencfg.service @@ -10,4 +10,4 @@ Type=oneshot # > allowed. ExecStart=/usr/bin/env screencfg "%h/.screencfg/%H/default.yml" RemainAfterExit=true -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/spotify.service b/autostart/services/spotify.service index 6ba405f..e25c808 100644 --- a/autostart/services/spotify.service +++ b/autostart/services/spotify.service @@ -4,4 +4,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env spotify -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/steam.service b/autostart/services/steam.service index 49ab289..5743d25 100644 --- a/autostart/services/steam.service +++ b/autostart/services/steam.service @@ -7,4 +7,4 @@ ConditionPathExists=%h/.var/run/features/steam [Service] ExecStart=/usr/bin/env steam -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY diff --git a/autostart/services/touchpad.service b/autostart/services/touchpad.service index 171016f..4437dca 100644 --- a/autostart/services/touchpad.service +++ b/autostart/services/touchpad.service @@ -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 diff --git a/autostart/services/wallpaper.service b/autostart/services/wallpaper.service index 57506ea..04bbe3a 100644 --- a/autostart/services/wallpaper.service +++ b/autostart/services/wallpaper.service @@ -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 diff --git a/autostart/services/xresources.service b/autostart/services/xresources.service index c4d2555..5b2c8e7 100644 --- a/autostart/services/xresources.service +++ b/autostart/services/xresources.service @@ -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 diff --git a/autostart/services/yubikey-touch-detector.service b/autostart/services/yubikey-touch-detector.service index 42f9cc6..78cad22 100644 --- a/autostart/services/yubikey-touch-detector.service +++ b/autostart/services/yubikey-touch-detector.service @@ -4,4 +4,4 @@ After=windowmanager.target [Service] ExecStart=/usr/bin/env yubikey-touch-detector -libnotify -Environment=DISPLAY=:0 +PassEnvironment=DISPLAY