Files
hydro-os/files/systemd/user/terminal.service
Eriq Taing 912e8da0c8
All checks were successful
bluebuild / Build Custom Image (recipe.yml) (pull_request) Successful in 6m51s
Attempting to launch kitty with hyprctl in systemd unit
2025-05-24 12:45:26 -04:00

17 lines
576 B
Desktop File

[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=hyprctl dispatch exec [workspace special:terminal silent] /usr/bin/kitty
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