Add YouTube to workspace icons
This commit is contained in:
@@ -14,7 +14,14 @@ swaymsg -t subscribe -m '[ "window" ]' | while read -r event ; do
|
|||||||
if [ "$app_name" = "kitty" ] ; then
|
if [ "$app_name" = "kitty" ] ; then
|
||||||
app_name=""
|
app_name=""
|
||||||
elif [ "$app_name" = "chromium" ] ; then
|
elif [ "$app_name" = "chromium" ] ; then
|
||||||
app_name=""
|
case "$(jq -r '.container.name' <<< $event)" in
|
||||||
|
*YouTube*)
|
||||||
|
app_name=""
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
app_name=""
|
||||||
|
;;
|
||||||
|
esac
|
||||||
elif [ "$app_name" = "discord" ] ; then
|
elif [ "$app_name" = "discord" ] ; then
|
||||||
app_name=""
|
app_name=""
|
||||||
elif [ "$app_name" = "spotify" ] ; then
|
elif [ "$app_name" = "spotify" ] ; then
|
||||||
|
|||||||
Reference in New Issue
Block a user