mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-26 19:58:35 +02:00
Revert "spotify: do not expect an answer to DBus request"
This reverts commit 1342c2b227
. Doesn't
work otherwise... Odd?
This commit is contained in:
parent
572f39c0c1
commit
8b1417a75d
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ end
|
||||||
local function cmd(command)
|
local function cmd(command)
|
||||||
local client = spotify()
|
local client = spotify()
|
||||||
if client then
|
if client then
|
||||||
os.execute("dbus-send --dest=org.mpris.MediaPlayer2.spotify " ..
|
os.execute("dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify " ..
|
||||||
"/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player." .. command)
|
"/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player." .. command)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue