different volume icon (plaese give more volume level icons)

This commit is contained in:
twoneis 2024-07-28 19:47:09 +02:00
parent 718a34514b
commit d71a01a618
3 changed files with 4 additions and 5 deletions

View file

@ -44,7 +44,7 @@ in {
programs.waybar = { programs.waybar = {
enable = true; enable = true;
settings = import ./waybar.conf.nix { config = config; }; settings = import ./waybar.conf.nix { };
style = (import ./waybar.css.nix { config = config; }).style; style = (import ./waybar.css.nix { config = config; }).style;
}; };

View file

@ -77,7 +77,6 @@
spawn-at-startup = [ spawn-at-startup = [
{ command = ["waybar"]; } { command = ["waybar"]; }
{ command = ["wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "1"]; }
{ command = ["brightnessctl" "s" "50%"]; } { command = ["brightnessctl" "s" "50%"]; }
{ command = ["swaybg" "-i" "${./wallpaper.png}"]; } { command = ["swaybg" "-i" "${./wallpaper.png}"]; }
{ command = ["swayidle" "-w" "before-sleep" "swaylock"]; } { command = ["swayidle" "-w" "before-sleep" "swaylock"]; }
@ -92,7 +91,7 @@
"XF86AudioLowerVolume".action.spawn = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-"]; "XF86AudioLowerVolume".action.spawn = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-"];
"XF86AudioMute".action.spawn = ["wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"]; "XF86AudioMute".action.spawn = ["wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"];
"XF86MonBrightnessDown".action.spawn = ["brightnessctl" "-n=10%" "s" "5%-"]; "XF86MonBrightnessDown".action.spawn = ["brightnessctl" "s" "5%-"];
"XF86MonBrightnessUp".action.spawn = ["brightnessctl" "s" "5%+"]; "XF86MonBrightnessUp".action.spawn = ["brightnessctl" "s" "5%+"];
"Mod+Backspace".action.close-window = []; "Mod+Backspace".action.close-window = [];

View file

@ -23,8 +23,8 @@
"wireplumber" = { "wireplumber" = {
format = "{icon}"; format = "{icon}";
format-alt = "{volume}%"; format-alt = "{volume}%";
format-muted = ""; format-muted = "";
format-icons = ["" "" ""]; format-icons = ["󰡳" "󰡵" "󰊚" "󰡴"];
tooltip = false; tooltip = false;
}; };