Add audio controls

This commit is contained in:
Przemek Grondek 2021-01-14 22:38:42 +01:00
parent 925a68342e
commit 15bfdbfcb5
5 changed files with 19 additions and 5 deletions

BIN
music/play-pause.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 B

BIN
music/skip-backward.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

BIN
music/skip-forward.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 531 B

BIN
music/stop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

View File

@ -29,11 +29,25 @@
"10": {
"write": "",
"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": {
"write": "",
"switch_page": 10,
@ -365,7 +379,7 @@
}
}
},
"brightness": 99,
"brightness": 59,
"page": 1
}
}