From ee5b043651e1dbf2aaf90a54b7a6963f823dcd6a Mon Sep 17 00:00:00 2001 From: gg-rewrite Date: Sun, 17 May 2020 12:07:29 +0300 Subject: [PATCH] Added .desktop file (#8) * Added .desktop file This closes #2 * added prefix-based installation paths --- meson.build | 5 +++++ wf-osk.desktop | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 wf-osk.desktop diff --git a/meson.build b/meson.build index 0d63a62..bc96e26 100644 --- a/meson.build +++ b/meson.build @@ -23,3 +23,8 @@ add_project_arguments(['-Wno-unused-parameter'], language: 'cpp') subdir('proto') subdir('src') + +install_data( + 'wf-osk.desktop', + install_dir: '@0@/share/applications'.format(get_option('prefix')) + ) diff --git a/wf-osk.desktop b/wf-osk.desktop new file mode 100644 index 0000000..14a8024 --- /dev/null +++ b/wf-osk.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=wf-osk +GenericName=Virtual Keyboard +Comment=A very, very simple virtual keyboard using gtkmm, virtual-keyboard-v1 and layer-shell +Keywords=screen;keyboard;virtual +Exec=wf-osk +StartupNotify=true +Terminal=false +Type=Application +Icon=input-keyboard