mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 23:47:20 +00:00
add disable key to player monitor
This commit is contained in:
parent
1cddf6f14d
commit
e38863ebc2
@ -212,7 +212,8 @@ QHash<QString, QString> ExtendedSysMon::updateConfiguration(QHash<QString, QStri
|
|||||||
}
|
}
|
||||||
// player
|
// player
|
||||||
if ((rawConfig[QString("PLAYER")] != QString("mpd")) &&
|
if ((rawConfig[QString("PLAYER")] != QString("mpd")) &&
|
||||||
(rawConfig[QString("PLAYER")] != QString("mpris")))
|
(rawConfig[QString("PLAYER")] != QString("mpris")) &&
|
||||||
|
(rawConfig[QString("PLAYER")] != QString("disable")))
|
||||||
rawConfig[QString("PLAYER")] = QString("mpris");
|
rawConfig[QString("PLAYER")] = QString("mpris");
|
||||||
|
|
||||||
for (int i=0; i<rawConfig.keys().count(); i++)
|
for (int i=0; i<rawConfig.keys().count(); i++)
|
||||||
|
@ -14,5 +14,5 @@ MPDPORT=6600
|
|||||||
# MPRIS player name or 'auto'. In the most cases it should be a player name
|
# MPRIS player name or 'auto'. In the most cases it should be a player name
|
||||||
## DBus path is org.mpris.MediaPlayer2.amarok
|
## DBus path is org.mpris.MediaPlayer2.amarok
|
||||||
MPRIS=auto
|
MPRIS=auto
|
||||||
# Player name. Supported players are 'mpd', 'mpris'
|
# Player name. Supported players are 'mpd', 'mpris', 'disable'
|
||||||
PLAYER=mpris
|
PLAYER=mpris
|
||||||
|
Loading…
Reference in New Issue
Block a user