sway | add toggle to toggle-sink
This commit is contained in:
parent
fc6fa24832
commit
0884aacdfc
1 changed files with 18 additions and 14 deletions
|
|
@ -27,9 +27,9 @@
|
||||||
modules-left =
|
modules-left =
|
||||||
[ "sway/workspaces" "sway/mode" "wlr/workspaces" "custom/mycal" ];
|
[ "sway/workspaces" "sway/mode" "wlr/workspaces" "custom/mycal" ];
|
||||||
modules-center = [ ];
|
modules-center = [ ];
|
||||||
# modules-right = ["idle_inhibitor" "custom/mytimew" "pulseaudio" "custom/mymusic" "bluetooth" "network" "backlight" "battery" "battery#bat2" "tray" "custom/mycal" "clock"];
|
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"idle_inhibitor"
|
"idle_inhibitor"
|
||||||
|
"custom/toggle-sink"
|
||||||
"custom/weather"
|
"custom/weather"
|
||||||
"custom/mytimew"
|
"custom/mytimew"
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
|
|
@ -64,6 +64,10 @@
|
||||||
interval = 300;
|
interval = 300;
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
};
|
};
|
||||||
|
"custom/toggle-sink" = {
|
||||||
|
format = "sink";
|
||||||
|
on-click = "~/bin/toggle-sink";
|
||||||
|
};
|
||||||
"custom/mytimew" = {
|
"custom/mytimew" = {
|
||||||
exec = "~/bin/timebar";
|
exec = "~/bin/timebar";
|
||||||
interval = 30;
|
interval = 30;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue