pkgs/dwm: detect patches better