mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 18:58:33 +02:00
spotify: try to support the new version of Spotify
Use dbus-mediakeys to get an appropriate DBus interface. In future versions, this should not be needed anymore. See: https://github.com/vincentbernat/dbus-mediakeys
This commit is contained in:
parent
86c36c91c6
commit
e3747d1b9f
3 changed files with 66 additions and 46 deletions
|
@ -17,7 +17,9 @@ local execute = {
|
|||
"text/html",
|
||||
-- Default MIME types
|
||||
"xdg-mime default evince.desktop application/pdf",
|
||||
"xdg-mime default gpicview.desktop image/png image/x-apple-ios-png image/jpeg image/jpg image/gif"
|
||||
"xdg-mime default gpicview.desktop image/png image/x-apple-ios-png image/jpeg image/jpg image/gif",
|
||||
-- dbus-mediakeys
|
||||
"dbus-mediakeys &"
|
||||
}
|
||||
|
||||
os.execute(table.concat(execute, ";"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue