Converted autostart execs to systemd units
All checks were successful
bluebuild / Build Custom Image (recipe.yml) (pull_request) Successful in 6m38s

This commit is contained in:
2025-05-23 17:31:00 -04:00
parent be384c3e28
commit 46ff9d254c
10 changed files with 81 additions and 24 deletions

View File

@@ -0,0 +1,17 @@
[Unit]
Description=The pc gaming platform
# order startup after WM
After=graphical-session.target
[Service]
Type=exec
# Repurpose XDG Autostart filtering
ExecCondition=/lib/systemd/systemd-xdg-autostart-condition "wlroots:sway:Wayfire:labwc:Hyprland" ""
ExecStart=/usr/bin/flatpak run com.discordapp.Discord
Slice=app-graphical.slice
[Install]
WantedBy=graphical-session.target
# Alternatively can be wanted by specific WMs' targets
# Should also be duplicated in 'After=' to avoid ordering loop
#WantedBy=wayland-session@hyprland.desktop.target