wip!themes: Add example twincam theme

This probably shouldn't go to plymouth upstream, but be a separate project?
This commit is contained in:
Ray Strode 2022-01-28 11:05:54 -05:00
parent b75a71e934
commit 44587d9e49
4 changed files with 22 additions and 1 deletions

View file

@ -331,6 +331,7 @@ AC_CONFIG_FILES([Makefile po/Makefile.in
themes/spinner/Makefile
themes/script/Makefile
themes/bgrt/Makefile
themes/twincam/Makefile
images/Makefile
scripts/plymouth-generate-initrd
scripts/plymouth-populate-initrd

View file

@ -1,2 +1,2 @@
SUBDIRS = spinfinity fade-in text details solar glow script spinner tribar bgrt
SUBDIRS = spinfinity fade-in text details solar glow script spinner tribar bgrt twincam
MAINTAINERCLEANFILES = Makefile.in

View file

@ -0,0 +1,13 @@
themedir = $(datadir)/plymouth/themes/twincam
nodist_theme_DATA = twincam.plymouth
MAINTAINERCLEANFILES = Makefile.in twincam.plymouth
CLEANFILES = twincam.plymouth
twincam.plymouth: $(srcdir)/twincam.plymouth.desktop
$(AM_V_GEN) \
sed -e 's,[@]PLYMOUTH_THEME_PATH[@],$(PLYMOUTH_THEME_PATH),g' \
$(srcdir)/twincam.plymouth.desktop | \
$(MSGFMT) --desktop --template /proc/self/fd/0 -d $(top_srcdir)/po -o $@
EXTRA_DIST = twincam.plymouth.desktop

View file

@ -0,0 +1,7 @@
[Plymouth Theme]
Name=Twincam
Description=Plugin that shows the system cameras as the splash
ModuleName=external-command
[external-command]
Command=/usr/bin/twincam