I'm trying to add a keyboard shortcut to be able to automatically screenshot an active window to the clipboard I'm trying this line of code right now gnome-screenshot -w | xclip -selection clipboard
but it doesn't work
ps: yes I am writing this line in the shortcut section of gnome