summaryrefslogtreecommitdiff
path: root/modules/home-manager
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2024-01-12 12:50:17 -0700
committerDevin Finlinson <devin.finlinson@pm.me>2024-01-12 12:50:17 -0700
commit21012fb0f0c6bb90c1be206c10a7e171516f7272 (patch)
treed8cdd176358d4d7c205d441f6881ad590a5d2c18 /modules/home-manager
parentb0840aab7d0639e2c41d82b48663e1746fcdd7b6 (diff)
wireplumber waybard module has few options, and default pulseaudio options work
Diffstat (limited to 'modules/home-manager')
-rw-r--r--modules/home-manager/waybar.nix30
1 files changed, 24 insertions, 6 deletions
diff --git a/modules/home-manager/waybar.nix b/modules/home-manager/waybar.nix
index a965cba..c94deef 100644
--- a/modules/home-manager/waybar.nix
+++ b/modules/home-manager/waybar.nix
@@ -10,17 +10,14 @@
height = 40;
modules-left = [ "hyprland/workspaces" ];
modules-center = [ "clock" ];
- modules-right = [ "wireplumber" "bluetooth" "network" "backlight/slider" "battery" "temperature" "memory" "keyboard_state" "tray" ];
+ modules-right = [ "pulseaudio" "bluetooth" "network" "backlight/slider" "battery" "temperature" "memory" "keyboard_state" "tray" ];
"tray" = {
icon-size = 21;
spacing = 10;
};
- "wireplumber" = {
- on-click = "helvum";
- max-volume = 150;
- scroll-step = 0.2;
-
+ "pulseaudio" = {
+ # // "scroll-step": 1, // %, can be a float
format = "{volume}% {icon} {format_source}";
format-bluetooth = "{volume}% {icon} {format_source}";
format-bluetooth-muted = " {icon} {format_source}";
@@ -36,6 +33,27 @@
car = "";
default = [ "" "" "" ];
};
+ on-click = "pavucontrol";
+ };
+ "wireplumber" = {
+ on-click = "helvum";
+ max-volume = 150;
+ scroll-step = 0.2;
+
+ # format-bluetooth = "{volume}% {icon} {format_source}";
+ # format-bluetooth-muted = " {icon} {format_source}";
+ format-muted = " ";
+ format = "{volume}% {icon} ";
+ # format-source-muted = "";
+ format-icons = {
+ # headphone = "";
+ # hands-free = "";
+ # headset = "";
+ # phone = "";
+ # portable = "";
+ # car = "";
+ default = [ "" "" "" ];
+ };
# on-click = "pavucontrol"
};
"network" = {