diff options
| author | Craig Jennings <c@cjennings.net> | 2024-11-18 12:47:42 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-11-18 12:47:42 -0600 |
| commit | 3be3d6381d23eb1dd0045d322919daacaafd1bed (patch) | |
| tree | 86d3d6c072a2cbab330d848d21f0d7995b4887cb | |
| parent | a6c9742110e832966b8411ba5145eb6df698170a (diff) | |
document changes for dwmsystray
| -rw-r--r-- | todo.org | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -38,3 +38,22 @@ should be like patch, but shell scripted. and make it work for $EDITOR, $TERMINAL, and $BROWSER ** DONE [#B] Add dwm-center to center certain windows when opened in floating * DWM - Reference +** give dwmsystray a class so picom can identify it +https://www.reddit.com/r/suckless/comments/hzop00/dwm_how_to_remove_picomcompton_shadow_from/ + +may have something for you, at least some preliminary testing suggests that it works. + +In the clientmessage function in dwm.c lives the code where new client windows are embedded in the systray window. + +Try adding this before the XReparentWindow line: + + XClassHint ch = {"dwmsystray", "dwmsystray"}; + XSetClassHint(dpy, c->win, &ch); + +then add + + "class_g = 'dwmsystray'", + +to the shadow-exclude setting in your picom.conf. + +You can set it to "dwm" if you want. I just chose something else in order to be able to differentiate between the bar window and the systray window. |
