consideration when deciding whether or not to allow dwm to quit
As per the original patch
https://dwm.suckless.org/patches/onlyquitonempty/
it used XQueryTree to get a count of the number of windows open to
determine whether to allow the window manager to exit.
This meant that the empty quit count variable would have to take
into account background windows such as the bar, which has side
effects like plugging in another monitor could mean that you would
not longer be allowed to quit dwm until the monitor is removed.
Likewise a systray and each systray icon would give a +1 to the
number of windows in the system.
This is unintuitive to understand and convoluted to explain, hence
the refactoring here to use the more sane approach of only counting
the number of client windows that the window manager manages.
This is an old idea which was intentionally not added to
dwm-flexipatch due to the aim of staying true to the original patch
(as in if you were to patch that manually you would get the same
experience as you had when trying the patch out in dwm-flexipatch).
This is ref. discussion in #194.
- upstream/master onlyquitonempty + cool_autostart: adding proposed compatibility improvements ref. #194
- noborder: addressing issue reported in #193
- fodcusadjacenttag: Add selmon->sel guards for tagandviewtoleft/right to prevent segmentation faults ref. #191
- Use 'pgrep -o' instead of 'pidof -s' to get the PID of status bar
- Add a statusallmons and staticstatus easily toggleable in patches.h ref. #188
- Move date, time, and media-playing modules to left
- Move dwm module to center
- Change dwm module colors to use common background color,
but adjust text color
- Change module colors
- Remove layout label from dwm module
- Disable unused swallow patch
- Re-comment swallow patch dependencies in config.mk
- Adjust polybar module colors
- Add quick reference table for converting between seconds,
minutes, and hours in polybar interval section
- Change polybar main font to NotoSansDisplay Nerd Font
- Move media-playing module to center
- Move date & time modules to right
- Change separator from space to none
- Add program title to dwm module
- Disable reverse scroll options in dwm module
- Disable layout scrolling in dwm module due to crashes
- Slightly shorten date module
- Change dwm terminal from alacritty to kitty
- Change polybar terminal from alacritty to kitty
- Change polybar font from NotoSans Nerd Font to Ubuntu Nerd Font