feat: improved waybar config

This commit is contained in:
Patrick Großmann 2023-05-19 14:33:26 +09:00
parent 2c6fc285ec
commit 13df3d15d5
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -12,17 +12,17 @@
modules-left = ["hyprland/window"];
modules-center = ["wlr/workspaces"];
# wireplumber module seems to be currently broken
modules-right = ["network" "backlight" "battery" "clock" "tray"];
modules-right = ["network" "wireplumber" "backlight" "battery" "clock" "tray"];
battery = {
format = "{icon} {capacity}%";
format = "{icon} {capacity}%";
format-icons = ["" "" "" "" "" "" "" "" ""];
};
backlight = {
device = "intel_backlight";
format = "{icon} {percent}%";
format-icons = ["" ""];
format-icons = ["󱩎" "󱩏" "󱩐" "󱩑" "󱩒" "󱩓" "󱩔" "󱩕" "󱩖" "󰛨"];
on-scroll-up = "${pkgs.acpilight}/bin/xbacklight +5";
on-scroll-down = "${pkgs.acpilight}/bin/xbacklight -5";
};
@ -31,12 +31,14 @@
wireplumber = {
format = "{icon} {volume}%";
format-muted = "";
format-icons = ["" "奔" ""];
on-click = "${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ toggle";
format-muted = "󰖁";
format-icons = ["󰕿" "󰖀" "󰕾"];
};
network = {
format = "{ifname} {bandwidthUpBits} {bandwidthDownBits}";
interval = 1;
};
};
};