dotfiles/scripts/picom_opacity_toggle.sh
2024-05-28 18:01:55 +02:00

7 lines
218 B
Bash
Executable file

#!/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