diff --git a/home/gui/sway.nix b/home/gui/sway.nix index d9df3c7..1014c48 100644 --- a/home/gui/sway.nix +++ b/home/gui/sway.nix @@ -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 =