This commit is contained in:
2021-01-27 13:33:29 +01:00
parent 21f74a1108
commit 1379bf56ab
7 changed files with 45 additions and 12 deletions

View File

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