Add audio controls
This commit is contained in:
parent
925a68342e
commit
15bfdbfcb5
BIN
music/play-pause.png
Normal file
BIN
music/play-pause.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 650 B |
BIN
music/skip-backward.png
Normal file
BIN
music/skip-backward.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 567 B |
BIN
music/skip-forward.png
Normal file
BIN
music/skip-forward.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 531 B |
BIN
music/stop.png
Normal file
BIN
music/stop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 360 B |
@ -29,11 +29,25 @@
|
|||||||
"10": {
|
"10": {
|
||||||
"write": "",
|
"write": "",
|
||||||
"switch_page": 0,
|
"switch_page": 0,
|
||||||
"text": ""
|
"text": "",
|
||||||
|
"icon": "/home/pgrondek/src/streamdeck/music/skip-backward.png",
|
||||||
|
"command": "playerctl previous"
|
||||||
|
},
|
||||||
|
"11": {
|
||||||
|
"write": "",
|
||||||
|
"icon": "/home/pgrondek/src/streamdeck/music/play-pause.png",
|
||||||
|
"command": "playerctl play-pause"
|
||||||
|
},
|
||||||
|
"12": {
|
||||||
|
"write": "",
|
||||||
|
"icon": "/home/pgrondek/src/streamdeck/music/skip-forward.png",
|
||||||
|
"command": "playerctl next"
|
||||||
|
},
|
||||||
|
"13": {
|
||||||
|
"write": "",
|
||||||
|
"icon": "/home/pgrondek/src/streamdeck/music/stop.png",
|
||||||
|
"command": "playerctl stop"
|
||||||
},
|
},
|
||||||
"11": {},
|
|
||||||
"12": {},
|
|
||||||
"13": {},
|
|
||||||
"14": {
|
"14": {
|
||||||
"write": "",
|
"write": "",
|
||||||
"switch_page": 10,
|
"switch_page": 10,
|
||||||
@ -365,7 +379,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"brightness": 99,
|
"brightness": 59,
|
||||||
"page": 1
|
"page": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user