Browse Source

Use DBus interface to pause clementine

The --pause option does not work in all versions:

    https://bugzilla.redhat.com/show_bug.cgi?id=1348678
Alois Mahdal 7 years ago
parent
commit
99d321fe03
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dotfiles/config/bmo/hook.ini

+ 1
- 1
dotfiles/config/bmo/hook.ini View File

@@ -18,6 +18,6 @@
18 18
     say_zleeping = weechat-fifo -s \*/disconnect -all offline
19 19
 
20 20
     afk          = pidof mocp       && mocp --pause
21
-    afk          = pidof clementine && clementine --pause
21
+    afk          = pidof clementine && qdbus org.mpris.clementine /Player org.freedesktop.MediaPlayer.Pause
22 22
 
23 23
     back         = bmo nag -R