Add YouTube to workspace icons

This commit is contained in:
2020-03-10 16:15:14 +01:00
parent 2d8c60e8e1
commit 09230a93c6

View File

@@ -14,7 +14,14 @@ swaymsg -t subscribe -m '[ "window" ]' | while read -r event ; do
if [ "$app_name" = "kitty" ] ; then
app_name=""
elif [ "$app_name" = "chromium" ] ; then
case "$(jq -r '.container.name' <<< $event)" in
*YouTube*)
app_name=""
;;
*)
app_name=""
;;
esac
elif [ "$app_name" = "discord" ] ; then
app_name=""
elif [ "$app_name" = "spotify" ] ; then