#------------------------------------------------ # # imagemagick bindings # #------------------------------------------------ # silent screenshot of active window bindsym $mod+Shift+s exec bash -c 'mkdir $HOME/screenshots'; exec bash -c 'import -window "$(xdotool getwindowfocus -f)" $HOME/screenshots/$(date +%s).png'