]> git.mdlowis.com Git - proto/labwc.git/commitdiff
meson.build: install badges for labwc and migrate to data/
authorRick Calixte <10281587+rcalixte@users.noreply.github.com>
Mon, 22 Jan 2024 19:44:58 +0000 (14:44 -0500)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 3 Feb 2024 22:05:28 +0000 (22:05 +0000)
A .desktop file was previously added for the labwc session, this adds a
badge for it where it is supported. The .desktop files and the badges
are also moved to `data/`.

Ref: #36, 9fa783e, labwc/labwc-artwork#7

data/labwc-symbolic.svg [new file with mode: 0644]
data/labwc.desktop [moved from docs/labwc.desktop with 91% similarity]
data/labwc.svg [new file with mode: 0644]
meson.build

diff --git a/data/labwc-symbolic.svg b/data/labwc-symbolic.svg
new file mode 100644 (file)
index 0000000..105fb69
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--labwc logo #2 (C) Johan Malm LICENSE: CC BY-SA 4.0-->
+<svg xmlns="http://www.w3.org/2000/svg" width="256px" height="256px"
+     viewbox="0 0 256 256"
+     stroke-linecap="round" stroke-linejoin="round" stroke-width="12">
+  <path fill="#ffffff" stroke="#ffffff" d="m 26 68 91 55 v 108 l -76 -61 z" />
+  <path fill="#000000" stroke="#000000" d="m 229 68 -91 55 v 108 l 76 -61 z" />
+</svg>
similarity index 91%
rename from docs/labwc.desktop
rename to data/labwc.desktop
index 8df6c6c732f5f5ccc9fc9fc8b83eb9b90925e364..63ffcfffda5f512e7ad004d7dc6bef5faa1ea00c 100644 (file)
@@ -2,5 +2,6 @@
 Name=labwc
 Comment=A wayland stacking compositor
 Exec=labwc
+Icon=labwc
 Type=Application
 DesktopNames=wlroots
diff --git a/data/labwc.svg b/data/labwc.svg
new file mode 100644 (file)
index 0000000..d2a21a8
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--labwc logo #2 (C) Johan Malm LICENSE: CC BY-SA 4.0-->
+<svg xmlns="http://www.w3.org/2000/svg" width="256px" height="256px"
+     viewbox="0 0 256 256"
+     stroke-linecap="round" stroke-linejoin="round" stroke-width="12">
+  <path fill="#f0d70f" stroke="#f0d70f" d="m 26 68 91 55 v 108 l -76 -61 z" />
+  <path fill="#d02f90" stroke="#d02f90" d="m 229 68 -91 55 v 108 l 76 -61 z" />
+</svg>
index a4244f14562f920cb2649c5cd06e6a58d9f2dccd..a0a43263388b7d158a5384b278a1422e2962f4e8 100644 (file)
@@ -134,4 +134,10 @@ executable(
   install: true,
 )
 
-install_data('docs/labwc.desktop', install_dir: get_option('datadir') / 'wayland-sessions')
+install_data('data/labwc.desktop', install_dir: get_option('datadir') / 'wayland-sessions')
+
+icons = ['labwc-symbolic.svg', 'labwc.svg']
+foreach icon : icons
+  icon_path = join_paths('data', icon)
+  install_data(icon_path, install_dir: get_option('datadir') / 'icons/hicolor/scalable/apps')
+endforeach