dotfiles/scripts/picom_opacity_toggle.sh

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