Scale picom blur and corner radius according to a constant scale factor
much like we do for cursor sizes. This ideally would be defined
somewhere centrally, but this is better than nothing.
Signed-off-by: Joe Groocock <me@frebib.net>
I still prefer Breeze-Obsidian, but the reality is that it's unsupported
and nobody even seems to have the source any more :(
Allow `dpi` script to scale cursor relative to display scale according
to a fixed "standard" size, which for BreezeX is around 28px to closely
match the scale of the Breeze-Obsidian 16px.
Signed-off-by: Joe Groocock <me@frebib.net>
Read some standard xsettings values out of xrdb and set them in
xsettingsd. Use bash instead of sh to allow for `set -o pipefail`.
Signed-off-by: Joe Groocock <me@frebib.net>
Fix all shellcheck warnings, mostly by adding double quotes around vars.
Re-order operations and run multiple jobs in parallel to speed up DPI
change speed.
Remove all use of bc, simple sh integer division is sufficient in all
cases.
Signed-off-by: Joe Groocock <me@frebib.net>
This is technically more of a restart than a reload, but it's the
closest thing without actually restarting the main pid.
Signed-off-by: Joe Groocock <me@frebib.net>