vimiv-qt icon indicating copy to clipboard operation
vimiv-qt copied to clipboard

suggestion: override default font for styles & generated styles

Open elig0n opened this issue 2 years ago • 1 comments

this will allow to create default style files (default & default-dark) with a specific default font for all font fields in each at once

another suggestion: specify generic font override in vimiv.conf for all styles fonts

elig0n avatar Aug 02 '23 22:08 elig0n

I am not sure I understand the first part. Personally, I never set the specific fonts but always add a line along:

font = 12pt Hack Nerd Font Mono

to my style file. In case no specific font options are passed, this does apply to all.

So if I were to set up a new "default" file, I would create my own, say default-karlch, and only copy the colors along with the single font line, and update that single font line.

Concerning the second part: I can potentially see the use for this, but would then allow basically everything. I.e., add a [STYLE] section to the vimiv.conf that is read after parsing the style and updates the values. However, I am not yet sure this is much better than just running sed on the style files once.

karlch avatar Aug 03 '23 17:08 karlch