Single Dev wallet contract

I’m struggling getting what I believe should be a simple contract working. The only tokenomics built in is a 5% tax that sends Eth to a single Wallet on transfer. The only special modifier is that it only taxes when going to or coming from a specific address (IE the dex router). I’m using an internal swap accessing the Uniswap router. Does anyone know of a contract that already does this that I could look at?