Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion: override default font for styles & generated styles #675

Open
elig0n opened this issue Aug 2, 2023 · 1 comment
Open

suggestion: override default font for styles & generated styles #675

elig0n opened this issue Aug 2, 2023 · 1 comment

Comments

@elig0n
Copy link

elig0n commented Aug 2, 2023

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

@karlch
Copy link
Owner

karlch commented Aug 3, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants