]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
themes: Add images for keyboard indicator support to spinner and spinfinity
authorHans de Goede <hdegoede@redhat.com>
Mon, 30 Sep 2019 22:19:48 +0000 (00:19 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 30 Sep 2019 22:43:34 +0000 (00:43 +0200)
Add capslock.png, keyboard.png and keymap-render.png files to the
spinner and spinfinity themes, this enables keyboard indicator
(keymap and capslock state) support for these themes.

capslock.png was made by me drawing the icon in xfig, then export as
svg, at some blank rows at the bottom and save as png. I've added the
capslock.fig file to the spinner theme dir.

keyboard.png comes from google's material-design-icons (original is
apache licensed): https://github.com/google/material-design-icons/
I've also added a copy of the 2 svg source files to the spinner theme dir.

keymap-render.png is generated by scripts/keymap-render.py.

Fixes: #85
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
themes/spinfinity/Makefile.am
themes/spinfinity/capslock.png [new file with mode: 0644]
themes/spinfinity/keyboard.png [new file with mode: 0644]
themes/spinfinity/keymap-render.png [new file with mode: 0644]
themes/spinner/Makefile.am
themes/spinner/capslock.fig [new file with mode: 0644]
themes/spinner/capslock.png [new file with mode: 0644]
themes/spinner/keyboard.png [new file with mode: 0644]
themes/spinner/keyboard_24px.svg [new file with mode: 0644]
themes/spinner/keyboard_48px.svg [new file with mode: 0644]
themes/spinner/keymap-render.png [new file with mode: 0644]

index 98fcfb87da10ba94f497899a9446323493e6e563..b4bc31d2206ba67d4656afbc08436476b10e13d6 100644 (file)
@@ -5,6 +5,9 @@ dist_theme_DATA =                                                     \
                   bullet.png                                          \
                   entry.png                                           \
                   lock.png                                            \
+                  capslock.png                                        \
+                  keyboard.png                                        \
+                  keymap-render.png                                   \
                   animation-0001.png                                  \
                   throbber-00.png                                     \
                   throbber-01.png                                     \
diff --git a/themes/spinfinity/capslock.png b/themes/spinfinity/capslock.png
new file mode 100644 (file)
index 0000000..e18a0ac
Binary files /dev/null and b/themes/spinfinity/capslock.png differ
diff --git a/themes/spinfinity/keyboard.png b/themes/spinfinity/keyboard.png
new file mode 100644 (file)
index 0000000..347954c
Binary files /dev/null and b/themes/spinfinity/keyboard.png differ
diff --git a/themes/spinfinity/keymap-render.png b/themes/spinfinity/keymap-render.png
new file mode 100644 (file)
index 0000000..4f8c459
Binary files /dev/null and b/themes/spinfinity/keymap-render.png differ
index e6e1bb67356d593d5ecfdbf063c0aeb2b7dba080..ea283363b2e6af25baf8690f32d7b841cec00f76 100644 (file)
@@ -5,6 +5,9 @@ dist_theme_DATA =                                                     \
                     bullet.png                                        \
                     entry.png                                         \
                     lock.png                                          \
+                    capslock.png                                      \
+                    keyboard.png                                      \
+                    keymap-render.png                                 \
                     animation-0001.png                                \
                     animation-0002.png                                \
                     animation-0003.png                                \
diff --git a/themes/spinner/capslock.fig b/themes/spinner/capslock.fig
new file mode 100644 (file)
index 0000000..22a14a9
--- /dev/null
@@ -0,0 +1,16 @@
+#FIG 3.2  Produced by xfig version 3.2.7a
+Landscape
+Center
+Metric
+A4
+100.00
+Single
+-2
+1200 2
+0 32 #e8e8e8
+2 3 0 1 32 32 50 -1 20 0.000 0 0 0 0 0 4
+        1440 225 193 1620 2687 1620 1440 225
+2 2 0 1 32 32 50 -1 20 0.000 0 0 -1 0 0 5
+        810 1620 2070 1620 2070 2250 810 2250 810 1620
+2 2 0 1 32 32 50 -1 20 0.000 0 0 -1 0 0 5
+        810 2430 2070 2430 2070 2790 810 2790 810 2430
diff --git a/themes/spinner/capslock.png b/themes/spinner/capslock.png
new file mode 100644 (file)
index 0000000..e18a0ac
Binary files /dev/null and b/themes/spinner/capslock.png differ
diff --git a/themes/spinner/keyboard.png b/themes/spinner/keyboard.png
new file mode 100644 (file)
index 0000000..347954c
Binary files /dev/null and b/themes/spinner/keyboard.png differ
diff --git a/themes/spinner/keyboard_24px.svg b/themes/spinner/keyboard_24px.svg
new file mode 100644 (file)
index 0000000..6961f3d
--- /dev/null
@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
+    <path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"/>
+    <path d="M0 0h24v24H0zm0 0h24v24H0z" fill="none"/>
+</svg>
diff --git a/themes/spinner/keyboard_48px.svg b/themes/spinner/keyboard_48px.svg
new file mode 100644 (file)
index 0000000..8fbb16b
--- /dev/null
@@ -0,0 +1,4 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">
+    <path d="M40 10H8c-2.21 0-3.98 1.79-3.98 4L4 34c0 2.21 1.79 4 4 4h32c2.21 0 4-1.79 4-4V14c0-2.21-1.79-4-4-4zm-18 6h4v4h-4v-4zm0 6h4v4h-4v-4zm-6-6h4v4h-4v-4zm0 6h4v4h-4v-4zm-2 4h-4v-4h4v4zm0-6h-4v-4h4v4zm18 14H16v-4h16v4zm0-8h-4v-4h4v4zm0-6h-4v-4h4v4zm6 6h-4v-4h4v4zm0-6h-4v-4h4v4z"/>
+    <path d="M0 0h48v48H0zm0 0h48v48H0z" fill="none"/>
+</svg>
diff --git a/themes/spinner/keymap-render.png b/themes/spinner/keymap-render.png
new file mode 100644 (file)
index 0000000..4f8c459
Binary files /dev/null and b/themes/spinner/keymap-render.png differ