From b7c731afa01f6b06eefb59802a6819f20cd8cd19 Mon Sep 17 00:00:00 2001 From: Jacopo De Simoi Date: Sat, 10 Jul 2021 15:37:20 -0400 Subject: [PATCH] Ignore errors when connecting to dbus --- global.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/global.org b/global.org index d422fd5..5c4d1fe 100644 --- a/global.org +++ b/global.org @@ -565,9 +565,9 @@ ;; Register for the signal indicatorChanged coming from our service. It is ;; important that the =service= argument is =nil=, otherwise the registration ;; would stop once the process is respawned. - (dbus-register-signal + (ignore-errors (dbus-register-signal :session nil "/org/xkbvleds" "org.xkbvleds" "indicatorChanged" - 'xkbvleds-indicator-signal-handler) + 'xkbvleds-indicator-signal-handler)) #+end_src ** Tarmak-ready Set up all possible combinations of modifiers