Skip to content

Commit

Permalink
snap: Add daemon and update title of window
Browse files Browse the repository at this point in the history
Title can be retrieved using xwininfo on Xorg

Resolution maybe be manually adjusted,

Full path are used to revent rentrance

Change-Id: Ibf5a71da0b6b5fe56ddcf4ed5c7811c6632c8500
Relate-to: #21
Signed-off-by: Philippe Coval <[email protected]>
  • Loading branch information
rzr committed Mar 10, 2021
1 parent fcf50ad commit 24d3ecd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,21 @@ plugs:
environment:
LD_LIBRARY_PATH: "$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio"
LIBGL_DRIVERS_PATH: "$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri"
XWAYLAND_FULLSCREEN_WINDOW_HINT: title="pinball"
XWAYLAND_FULLSCREEN_WINDOW_HINT: title="Emilia Pinball"

apps:
daemon:
command-chain:
- usr/local/bin/xwayland-kiosk-launch
command: usr/local/bin/pinball
daemon: simple
restart-condition: always
pinball:
command: usr/local/bin/pinball
xwayland-kiosk-pinball:
command: usr/local/bin/xwayland-kiosk-launch pinball --fullscreen
command-chain:
- usr/local/bin/xwayland-kiosk-launch
command: usr/local/bin/pinball

layout:
/usr/local:
Expand Down

0 comments on commit 24d3ecd

Please sign in to comment.