aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2022-09-06 03:24:58 +0200
committerRobert Tari <robert@tari.in>2022-09-06 04:35:15 +0200
commitfdd04553fd470c580ec63ddc1e113079d7db3cbc (patch)
tree928474922515170a04d5bc0d7e540c2c63474f2b
parentd32524e211f7af301845b5db518d818b77831205 (diff)
downloadayatana-indicator-printers-fdd04553fd470c580ec63ddc1e113079d7db3cbc.tar.gz
ayatana-indicator-printers-fdd04553fd470c580ec63ddc1e113079d7db3cbc.tar.bz2
ayatana-indicator-printers-fdd04553fd470c580ec63ddc1e113079d7db3cbc.zip
Rewrite to indicator-ng: Add service configuration file
-rw-r--r--data/CMakeLists.txt3
-rw-r--r--data/org.ayatana.indicator.printers11
2 files changed, 14 insertions, 0 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 20245cd..ac6a6c6 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -10,3 +10,6 @@ endif ()
# ayatana-indicator-printers.desktop
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/ayatana-indicator-printers.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-printers.desktop" @ONLY)
install (FILES "${CMAKE_CURRENT_BINARY_DIR}/ayatana-indicator-printers.desktop" DESTINATION "/etc/xdg/autostart")
+
+# org.ayatana.indicator.printers
+install (FILES "${CMAKE_CURRENT_SOURCE_DIR}/org.ayatana.indicator.printers" DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/ayatana/indicators")
diff --git a/data/org.ayatana.indicator.printers b/data/org.ayatana.indicator.printers
new file mode 100644
index 0000000..d9fe355
--- /dev/null
+++ b/data/org.ayatana.indicator.printers
@@ -0,0 +1,11 @@
+[Indicator Service]
+Name=ayatana-indicator-printers
+ObjectPath=/org/ayatana/indicator/printers
+Position=100
+
+[phone]
+ObjectPath=/org/ayatana/indicator/printers/phone
+Position=25
+
+[desktop]
+ObjectPath=/org/ayatana/indicator/printers/desktop