dreamcat4 / skippy-xd

A full-screen Exposé-style standalone task switcher for X11.
GNU General Public License v2.0
100 stars 12 forks source link

Removing clientDisplayModes config #47

Closed felixfung closed 1 year ago

felixfung commented 1 year ago

Currently there is this config line:

https://github.com/dreamcat4/skippy-xd/blob/61f979b16ec6b67d94f7956670c3c35c36e7bdc4/skippy-xd.sample.rc#L73

which determines how windows are presented, e.g. as gray boxes, as thumbnails, or gray boxes with icons, or thumbnails with icons, etc.

The ordering of this line is important. Basically, the code parses in order, or reverse order, of this list, to try to present windows as thumbnail or gray boxes etc. If the order is messed up, windows might be presented as gray boxes despite being possible of being presented as thumbnail.

I think this config option is needlessly complicated and confusing for users. It should be replaced with:

displayThumbnailsWithIcons = true/false

If it is true, then it equates clientDisplayModes = thumbnail-icon thumbnail icon filled none If it is false, then it equates clientDisplayModes = thumbnail icon filled none

In the future, when minimized windows can be presented #41, displayThumbnailsWithIcons = true would equate clientDisplayModes = thumbnail-icon thumbnail zombie-icon zombie icon filled none displayThumbnailsWithIcons = false would equate clientDisplayModes = thumbnail zombie icon filled none