vendor icons and use phosphor icons
This commit is contained in:
parent
3e29ca8cc3
commit
4a635354c9
3033 changed files with 3068 additions and 42 deletions
|
|
@ -19,16 +19,16 @@ Singleton {
|
|||
let mute = root.ready ? sink.audio.muted : true;
|
||||
let volume = root.ready ? sink.audio.volume : 0;
|
||||
if (mute) {
|
||||
return "audio-volume-muted-symbolic";
|
||||
return "speaker-slash";
|
||||
}
|
||||
if (volume <= 0.33) {
|
||||
return "audio-volume-low-symbolic";
|
||||
return "speaker-none";
|
||||
}
|
||||
if (volume <= 0.66) {
|
||||
return "audio-volume-medium-symbolic";
|
||||
return "speaker-low";
|
||||
}
|
||||
if (volume >= 0.66) {
|
||||
return "audio-volume-high-symbolic";
|
||||
return "speaker-high";
|
||||
}
|
||||
}
|
||||
function setDefaultSink(node: PwNode): void {
|
||||
|
|
|
|||
Loading…
Reference in a new issue