Use native mpris module in Waybar
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
61510dd009
commit
38f95b1847
3 changed files with 6 additions and 14 deletions
|
@ -79,17 +79,14 @@
|
|||
"margin": "6px",
|
||||
"modules-left": ["tray"],
|
||||
"modules-center": [],
|
||||
"modules-right": ["custom/tauon"],
|
||||
"modules-right": ["mpris"],
|
||||
"tray": {
|
||||
"spacing": 12,
|
||||
},
|
||||
"custom/tauon": {
|
||||
"format": "{}",
|
||||
"tooltip": false,
|
||||
"interval": 1,
|
||||
"exec": "$XDG_BIN_HOME/tauon-status",
|
||||
"escape": true,
|
||||
"mpris": {
|
||||
"player": "tauon",
|
||||
"format": "{artist} - {album} - {title}",
|
||||
"on-click": "swaymsg workspace 10",
|
||||
}
|
||||
},
|
||||
}
|
||||
]
|
||||
|
|
|
@ -19,9 +19,9 @@
|
|||
#pulseaudio,
|
||||
#clock,
|
||||
#battery,
|
||||
#mpris,
|
||||
#custom-update,
|
||||
#custom-power,
|
||||
#custom-tauon,
|
||||
#window {
|
||||
padding: 0 12px;
|
||||
background: @background-color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue