We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10aeeb7 commit 5a1cef6Copy full SHA for 5a1cef6
mpris-widget/init.lua
@@ -12,7 +12,7 @@ local wibox = require("wibox")
12
local gears = require("gears")
13
14
local playerctl = {
15
- player_name = 'mpv',
+ player_name = nil,
16
}
17
18
function playerctl:set_player(name)
@@ -191,6 +191,8 @@ local function worker(user_args)
191
local library_icon = args.library_icon or path_to_icons .. "/symbolic/places/folder-music-symbolic.svg"
192
local popup_width = args.popup_width or 300
193
194
+ playerctl.player_name = args.default_player or 'mpv'
195
+
196
local icon = wibox.widget {
197
widget = wibox.widget.imagebox,
198
image = play_icon
0 commit comments