[hydros-systemd-units] Introduced package
Some checks failed
Build hydros-systemd-units / Build and push image (push) Failing after 1m33s
Some checks failed
Build hydros-systemd-units / Build and push image (push) Failing after 1m33s
This commit is contained in:
18
hydros-systemd-units/systemd/user/hyprlauncher.service
Normal file
18
hydros-systemd-units/systemd/user/hyprlauncher.service
Normal file
@@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=A launcher for the hypr ecosystem
|
||||
# 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/hyprlauncher -d
|
||||
Restart=on-failure
|
||||
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
|
||||
Reference in New Issue
Block a user