feat: show muted state of default sink
This commit is contained in:
parent
d528b78753
commit
eceaf35d34
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
.direnv/
|
||||
result/
|
||||
|
|
|
@ -41,7 +41,7 @@ BButton {
|
|||
// TODO: Make icon depend on sink type and volume level
|
||||
Image {
|
||||
id: icon
|
||||
source: "root:/assets/speaker.png"
|
||||
source: Quickshell.iconPath(audiow.sink?.audio.muted ? "audio-volume-muted" : "audio-volume-high")
|
||||
width: parent.width * (2 / 3)
|
||||
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
|
Loading…
Add table
Reference in a new issue