Skip to content

Can't figure out how to pass in a font or a background color #2

Description

@apeir-n

First off, this thing is awesome. It's my new fave menu thingy, I've already ported a ton of my dmenu scripts to it lol.

But, I've been trying to use the background color and font options, and they don't seem to be working for me. The other color options are working, like --highlight-color "#ff0000", but when i try --bg-color "#ff0000" it doesn't seem to do anything. I've tried various combinations and still no.

For the font, I checked to see what format the string should be in with this:

swift -e 'import AppKit; NSFontManager.shared.availableFonts.filter { $0.localizedCaseInsensitiveContains("Helvetica") }.forEach { print($0) }'

and it gave me some stuff like:

Helvetica
Helvetica-Bold
HelveticaNeue
HelveticaNeue-CondensedBold
HelveticaNeue-Italic
etc

so i tried passing in strings in those formats, and with other typefaces, but it doesn't seem to be doing anything.

Any tips?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions