|
|
|
|
@ -385,10 +385,12 @@ |
|
|
|
|
Connect the signal from xkbvleds to the handler |
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
|
(require 'dbus) |
|
|
|
|
;; 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 |
|
|
|
|
:session "org.xkbvleds" "/org/xkbvleds" |
|
|
|
|
"org.xkbvleds" "indicatorChanged" |
|
|
|
|
'xkbvleds-indicator-signal-handler) |
|
|
|
|
:session nil "/org/xkbvleds" "org.xkbvleds" "indicatorChanged" |
|
|
|
|
'xkbvleds-indicator-signal-handler) |
|
|
|
|
#+END_SRC |
|
|
|
|
* Main major modes |
|
|
|
|
** org-mode |
|
|
|
|
|