diff --git a/bumblebee_status/modules/core/pulsectl.py b/bumblebee_status/modules/core/pulsectl.py index fd77c26..63f9e36 100644 --- a/bumblebee_status/modules/core/pulsectl.py +++ b/bumblebee_status/modules/core/pulsectl.py @@ -198,6 +198,10 @@ class Module(core.module.Module): def state(self, _): if self.__muted: return ["warning", "muted"] - return ["unmuted"] + if self.__volume >= .5: + return ["unmuted", "unmuted-high"] + if self.__volume >= .1: + return ["unmuted", "unmuted-mid"] + return ["unmuted", "unmuted-low"] # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 diff --git a/themes/icons/awesome-fonts.json b/themes/icons/awesome-fonts.json index d01f66f..dae3d92 100644 --- a/themes/icons/awesome-fonts.json +++ b/themes/icons/awesome-fonts.json @@ -199,11 +199,14 @@ }, "pulseout": { "muted": { - "prefix": "" + "prefix": "󰝟" }, "unmuted": { "prefix": "" - } + }, + "unmuted-low": { "prefix": "󰕿" }, + "unmuted-mid": { "prefix": "󰖀" }, + "unmuted-high": { "prefix": "󰕾" } }, "amixer": { "muted": {