#!/bin/sh window=$(i3-msg -t get_tree | jq -r ".. | select(.focused? == true) | .window") #window_name=$(xdotool getwindowclassname "$window" || xdotool getwindowname "$window" || echo "?") picom-trans -w $window -t