dotfiles/scripts/picom_opacity_toggle.sh

7 lines
218 B
Bash
Raw Normal View History

2024-05-28 18:01:55 +02:00
#!/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