From fdd04553fd470c580ec63ddc1e113079d7db3cbc Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Tue, 6 Sep 2022 03:24:58 +0200 Subject: Rewrite to indicator-ng: Add service configuration file --- data/CMakeLists.txt | 3 +++ data/org.ayatana.indicator.printers | 11 +++++++++++ 2 files changed, 14 insertions(+) create mode 100644 data/org.ayatana.indicator.printers 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 -- cgit v1.2.3