bottom/assets
Clement Tsang f33bb42c5b
feature: Add mount filtering, rework filter priority logic (#455)
This PR accomplishes two things:

1. This PR aims to add mount_filter to the config file. This allows a user to filter their disk widget entries by the mount name as well; this was particularly a problem in trying to address #431.
2. A slight rework of how the filter system works due to the need of being able to manage two potentially conflicting filter sources, since the disk widget will now potentially filter on both the disk name and the mount name.

In regards to the second point, the new behaviour is as such:

1. Is the entry allowed through any filter? That is, does it match an entry in a filter where is_list_ignored is false? If so, we always keep this entry.
2. Is the entry denied through any filter? That is, does it match an entry in a filter where is_list_ignored is true? If so, we always deny this entry.
3. Anything else is allowed.

This main (breaking) change is really the third point. This would mean that temp_filter and net_filter, when set to allow listed entries with is_list_ignored = false, are kinda... useless, as a whitelist in the scenario of being the only filter is kinda pointless. But hopefully this shouldn't be a problem...?
2021-04-22 23:43:12 -04:00
..
and_or_search.png chore: optimize images 2020-05-04 17:46:00 -04:00
basic_mode.png chore: optimize images 2020-05-04 17:46:00 -04:00
battery.png chore: optimize images 2020-05-04 17:46:00 -04:00
cpu_filter.png [ImgBot] Optimize images (#68) 2020-03-05 20:33:04 -05:00
cpu_layout.png chore: optimize images 2020-05-04 17:46:00 -04:00
demo.gif other: update gruvbox and some documentation (#310) 2020-11-19 23:32:57 -05:00
disk_name_filter.png feature: Add mount filtering, rework filter priority logic (#455) 2021-04-22 23:43:12 -04:00
disk_name_mount_filter.png feature: Add mount filtering, rework filter priority logic (#455) 2021-04-22 23:43:12 -04:00
disk_no_filter.png feature: Add mount filtering, rework filter priority logic (#455) 2021-04-22 23:43:12 -04:00
or_search.png [ImgBot] Optimize images 2020-05-03 03:54:54 +00:00
quote_search.png chore: optimize images 2020-05-04 17:46:00 -04:00
regex_search.png chore: optimize images 2020-05-04 17:46:00 -04:00
sample_layout.png chore: optimize images 2020-05-04 17:46:00 -04:00
search_empty.png chore: optimize images 2020-05-04 17:46:00 -04:00
simple_search.png chore: optimize images 2020-05-04 17:46:00 -04:00
sort.png chore: [ImgBot] Optimize images (#203) 2020-08-26 20:30:45 -04:00
trees_1.png chore: [ImgBot] Optimize images (#226) 2020-09-06 23:24:45 -04:00
trees_2.png chore: [ImgBot] Optimize images (#226) 2020-09-06 23:24:45 -04:00
trees_3.png chore: [ImgBot] Optimize images (#226) 2020-09-06 23:24:45 -04:00
usage_search.png chore: optimize images 2020-05-04 17:46:00 -04:00