home | waybar - add call to control-music --pause

This commit is contained in:
Don Harper 2024-01-12 22:41:20 -06:00
parent 80b6850f36
commit a576e14cb5

View file

@ -52,6 +52,7 @@
};
"custom/mymusic" = {
exec = "~/bin/show-playing";
on-click = "~/bin/control-music --pause";
interval = 5;
};
"sway/window" = {
@ -126,28 +127,6 @@
};
on-click = "pavucontrol";
};
/* layer = "top";
position = "bottom";
height = 10;
spacing = 0;
modules-left = [ "sway/workspaces" "sway/mode" "wlr/workspaces" "custom/mycal" ];
modules-center = [ ];
modules-right = [ "idle_inhibitor" "custom/mytimew" "pulseaudio" "custom/mymusic" "bluetooth" "network" "backlight" "battery" "battery#bat2" "tray" "custom/mycal" "clock" ];
"custom/mytimew" = {
exec = "~/bin/timebar";
interval = 30;
on-click = "alacritty -e ~/bin/ttmenu";
};
"custom/mycal" = {
exec = "~/bin/show-next-event";
interval = 300;
on-click = "~/bin/mynewterm -e ikhal";
};
"custom/mymusic" = {
exec = "~/bin/show-playing";
interval = 5;
}; */
};
};
style =