r/suckless • u/Gloomy-Donut70 • 24d ago
[PATCH] Can anyone create a dwm patch?
I wanted to mimic the behaviour of the attach aside and below patch as it wasn't working as intended even after successfully patching dwm 6.8 but the patch I created also didn't work so i was hoping that someone on this subreddit could help me out
i specifically want the ability to preserve the master client such that it doesn't go to the slave area at all
2
Upvotes
4
u/girlboss_failson 24d ago
If you have a basic grasp of the C language, sure.
If you don't, you can learn
2
u/destructuringbind 24d ago
Ask any AI. (Reddit is only for moaning about AI these days, if you want to do something you have to talk to AI)
0
2
u/bakkeby 24d ago
attachaside, attachbottom and attachbelow should all leave the master client alone, assuming that you have a master and client split.
The way you word it makes it sound like you should never be able to zoom a client, or perform any action that may affect the master client(s), like making it floating or moving it to another tag or monitor.
There are other solutions like a rotatestack that leaves the master clients alone, for example. Just figure out how you want it to behave first, then it is less guesswork to write a patch for it.