This commit is contained in:
2022-07-14 21:49:39 +02:00
parent 1379bf56ab
commit 11659a506f
28 changed files with 566 additions and 232 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" ] || [ "$app_name" = "Chromium" ]; then
elif [[ "$app_name" == *"chrom"* ]] || [[ "$app_name" == *"Chrom"* ]]; then
case "$(jq -r '.container.name' <<< $event)" in
*YouTube*)
app_name=""