summaryrefslogtreecommitdiff
path: root/todo.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-11-18 12:47:42 -0600
committerCraig Jennings <c@cjennings.net>2024-11-18 12:47:42 -0600
commit3be3d6381d23eb1dd0045d322919daacaafd1bed (patch)
tree86d3d6c072a2cbab330d848d21f0d7995b4887cb /todo.org
parenta6c9742110e832966b8411ba5145eb6df698170a (diff)
document changes for dwmsystray
Diffstat (limited to 'todo.org')
-rw-r--r--todo.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/todo.org b/todo.org
index 0030111..58cfa2a 100644
--- a/todo.org
+++ b/todo.org
@@ -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.