blob: 47675d3e3c9093842babbb8acc44fb0b24af87e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
* DWM - Open Work
** TODO [#B] Have Emacs be a scratchpad
** TODO [#B] Shutdown menu should search case insensitively.
** TODO Rebuild DWM without unneeded patches
- center-window: unused functionality
- alwayscenter: don't always want window at center
- centeredmaster: unused layout
- cool-autostart: unused functionality; using .xinitrc and startdwm script
- self-restart: broken functionality
** DOING [#C] List and download all dwm patches applied along with description
|------------------------------------------+------------------------------------------------------------|
| patch name | description / url |
|------------------------------------------+------------------------------------------------------------|
| dwm-centeredmaster-6.1.diff | |
| dwm-centerwindow.diff | |
| dwm-colorbar-6.2.diff | |
| dwm-cool-autostart-6.2.diff | |
| dwm-fakefullscreen-20170508-ceac8c9.diff | |
| dwm-focusonclick-20200110-61bb8b2.diff | |
| dwm-hide_vacant_tags-6.1.diff | |
| dwm-pertag-20200914-61bb8b2.diff | |
| dwm-push-20201112-61bb8b2.diff | |
| dwm-ru_bottomstack-6.2.diff | master with detail windows on the bottom |
| dwm-ru_deck-6.2.diff | |
| dwm-ru_gaps-6.2.diff | |
| dwm-scratchpads-20200414-728d397b.diff | multiple scratchpads |
| dwm-setborderpx-6.2.diff | |
| dwm-swallow-20201211-61bb8b2.diff | terminals are hidden when launching apps from command line |
| dwm-systray-20210418-67d76bd.diff | a system applet in dwm |
|------------------------------------------+------------------------------------------------------------|
* DWM - Resolved
** DONE [#B] Create DWM exit menu
should be like patch, but shell scripted.
** DONE [#B] Add environment variable patch
and make it work for $EDITOR, $TERMINAL, and $BROWSER
** DONE [#B] Add dwm-center to center certain windows when opened in floating
** CANCELLED [#C] Add dwm restart patch
CLOSED: [2025-05-23 Fri 10:18]
- State "CANCELLED" from "VERIFY" [2025-05-23 Fri 10:18]
Added -- DWM should restart with super + shift + r
* 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.
|