home | waybar - add call to control-music --pause
This commit is contained in:
parent
80b6850f36
commit
a576e14cb5
1 changed files with 1 additions and 22 deletions
|
|
@ -52,6 +52,7 @@
|
||||||
};
|
};
|
||||||
"custom/mymusic" = {
|
"custom/mymusic" = {
|
||||||
exec = "~/bin/show-playing";
|
exec = "~/bin/show-playing";
|
||||||
|
on-click = "~/bin/control-music --pause";
|
||||||
interval = 5;
|
interval = 5;
|
||||||
};
|
};
|
||||||
"sway/window" = {
|
"sway/window" = {
|
||||||
|
|
@ -126,28 +127,6 @@
|
||||||
};
|
};
|
||||||
on-click = "pavucontrol";
|
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 =
|
style =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue