summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2024-01-12 12:29:16 -0700
committerDevin Finlinson <devin.finlinson@pm.me>2024-01-12 12:29:16 -0700
commitb0840aab7d0639e2c41d82b48663e1746fcdd7b6 (patch)
treeb224626132cd47fa2c5a739c9b4141b3997685d7 /modules
parent7d5baf5ccdb64fc1b8009667675dc75bfbde8d4c (diff)
swiped a few more settings from default config
Diffstat (limited to 'modules')
-rw-r--r--modules/home-manager/waybar.nix32
1 files changed, 27 insertions, 5 deletions
diff --git a/modules/home-manager/waybar.nix b/modules/home-manager/waybar.nix
index d6619cb..a965cba 100644
--- a/modules/home-manager/waybar.nix
+++ b/modules/home-manager/waybar.nix
@@ -8,21 +8,43 @@
layer = "top";
position = "top";
height = 40;
- modules-left = [ "tray" "hyprland/workspaces" ];
+ modules-left = [ "hyprland/workspaces" ];
modules-center = [ "clock" ];
- modules-right = [ "wireplumber" "bluetooth" "network" "backlight/slider" "battery" "temperature" "memory" "keyboard_state" ];
+ modules-right = [ "wireplumber" "bluetooth" "network" "backlight/slider" "battery" "temperature" "memory" "keyboard_state" "tray" ];
"tray" = {
icon-size = 21;
spacing = 10;
};
"wireplumber" = {
- format = "{volume}% {icon}";
- format-muted = "";
on-click = "helvum";
- format-icons = [ "" "" "" ];
max-volume = 150;
scroll-step = 0.2;
+
+ format = "{volume}% {icon} {format_source}";
+ format-bluetooth = "{volume}% {icon} {format_source}";
+ format-bluetooth-muted = " {icon} {format_source}";
+ format-muted = " {format_source}";
+ format-source = "{volume}% ";
+ format-source-muted = "";
+ format-icons = {
+ headphone = "";
+ hands-free = "";
+ headset = "";
+ phone = "";
+ portable = "";
+ car = "";
+ default = [ "" "" "" ];
+ };
+ # on-click = "pavucontrol"
+ };
+ "network" = {
+ format-wifi = "{essid} ({signalStrength}%) ";
+ format-ethernet = "{ipaddr}/{cidr} ";
+ tooltip-format = "{ifname} via {gwaddr} ";
+ format-linked = "{ifname} (No IP) ";
+ format-disconnected = "Disconnected ⚠";
+ format-alt = "{ifname}: {ipaddr}/{cidr}";
};
"backlight/slider" = {
min = 1;