diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-26 15:27:01 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-26 15:27:01 +0530 |
| commit | 8cb0b553489084e7898ab9821d62a6867fac1ba3 (patch) | |
| tree | 44daafd6d2691708063699800ad9342b82910e25 /modules/graphical/polybar/module/volume.nix | |
| parent | daa39ad793dcfe27be2e0ff300ba1f5491e1931d (diff) | |
| download | home-manager-config-8cb0b553489084e7898ab9821d62a6867fac1ba3.tar.gz home-manager-config-8cb0b553489084e7898ab9821d62a6867fac1ba3.zip | |
Added volume indicator to polybar.
Diffstat (limited to 'modules/graphical/polybar/module/volume.nix')
| -rw-r--r-- | modules/graphical/polybar/module/volume.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/graphical/polybar/module/volume.nix b/modules/graphical/polybar/module/volume.nix new file mode 100644 index 0000000..e3eb758 --- /dev/null +++ b/modules/graphical/polybar/module/volume.nix @@ -0,0 +1,13 @@ +{ config }: + +with config.scheme.withHashtag; +{ + type = "internal/pulseaudio"; + interval = 5; + format-volume = "<ramp-volume> <label-volume>"; + label-volume = "%percentage%%"; + label-muted = " "; + ramp-volume-0 = " "; + ramp-volume-1 = " "; + ramp-volume-2 = " "; +} |
