]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
wip!themes: Add example twincam theme wip/external-command
authorRay Strode <rstrode@redhat.com>
Fri, 28 Jan 2022 16:05:54 +0000 (11:05 -0500)
committerRay Strode <rstrode@redhat.com>
Fri, 28 Jan 2022 16:22:59 +0000 (11:22 -0500)
This probably shouldn't go to plymouth upstream, but be a separate project?

configure.ac
themes/Makefile.am
themes/twincam/Makefile.am [new file with mode: 0644]
themes/twincam/twincam.plymouth.desktop [new file with mode: 0644]

index 71d1282f53342a67c4149abdb7bf9a205598693f..31e2b7bfee5c42a017aadafec674c4e83b179f21 100644 (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
index 8e4566e942400bc3507d3eec77d8bcc31e433664..df907b3a86fe829fee2f18d0c0b0071fcc143c55 100644 (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
diff --git a/themes/twincam/Makefile.am b/themes/twincam/Makefile.am
new file mode 100644 (file)
index 0000000..8afdf3c
--- /dev/null
@@ -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
diff --git a/themes/twincam/twincam.plymouth.desktop b/themes/twincam/twincam.plymouth.desktop
new file mode 100644 (file)
index 0000000..4d40cf7
--- /dev/null
@@ -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