mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 03:49:44 +00:00
feat(waybar): add right click action for pulseaudio module to run pavucontrol
This commit is contained in:
parent
aa93f3eeda
commit
31ab76fb33
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -52,6 +54,7 @@
|
||||||
format-source = "{volume}% ";
|
format-source = "{volume}% ";
|
||||||
format-source-muted = "";
|
format-source-muted = "";
|
||||||
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||||
|
on-click-right = "${pkgs.pavucontrol}/bin/pavucontrol";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd-failed-units = {
|
systemd-failed-units = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue