fixup! Add kioskbrowser
dustin/kitchenos/pipeline/head This commit looks good Details

dev/ci
Dustin 2025-08-02 13:57:00 -05:00
parent 5922d3640e
commit 39d952d78d
1 changed files with 23 additions and 0 deletions

23
rootfs/usr/libexec/sway-systemd Executable file
View File

@ -0,0 +1,23 @@
#!/bin/sh
export XDG_CURRENT_DESKTOP=sway
export XDG_SESSION_DESKTOP="${XDG_SESSION_DESKTOP:-sway}"
export XDG_SESSION_TYPE=wayland
systemctl --user import-environment \
SWAYSOCK \
XDG_CURRENT_DESKTOP \
XDG_SESSION_DESKTOP \
XDG_SESSION_TYPE \
WAYLAND_DISPLAY
systemctl --user reset-failed
systemctl --user start sway-session.target
shutdown() {
systemctl --user stop sway-session.target
}
trap shutdown INT TERM
swaymsg -t subscribe '["shutdown"]'
shutdown