Switch to eww for status bar
This commit is contained in:
parent
f4c7c3e1e2
commit
106a9f4b38
15 changed files with 704 additions and 10 deletions
11
home-manager/wayland/eww/scripts/mpris-metadata
Executable file
11
home-manager/wayland/eww/scripts/mpris-metadata
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
playerctl metadata --follow --format \
|
||||
'{"playerName": "{{ playerName }}",'\
|
||||
'"status": "{{ status }}",'\
|
||||
'"artist": "{{ artist }}",'\
|
||||
'"title": "{{ title }}",'\
|
||||
'"album": "{{ album }}",'\
|
||||
'"position": "{{ position }}",'\
|
||||
'"position_d": "{{ duration(position) }}",'\
|
||||
'"duration": "{{ mpris:length }}",'\
|
||||
'"duration_d": "{{ duration(mpris:length) }}"}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue