scorpion-26 / gBar

Blazingly fast status bar written with GTK
MIT License
459 stars 17 forks source link

Feature: window title widget #77

Closed fdev31 closed 5 months ago

fdev31 commented 5 months ago

It would be good to have a "window title" widget showing the active window's title.

Alternatively a "pipe" widget, which would take the information to display from a unix socket would do the job (and more) too.

scorpion-26 commented 5 months ago

Done! The widget name is Title. If you want longer titles to be displayed, you can configure MaxTitleLength. (Note that CenterSpace may need to be increased too.)

fdev31 commented 5 months ago

That was fast! Thank you!

fdev31 commented 5 months ago

Maybe not a bug, but I can't figure how to change the font (can make it bold etc, but couldn't set the family).

scorpion-26 commented 5 months ago

The font is controlled by font-family in the css. AFAIK the font name is the same as the one you would input into e.g. vscode or the gtk settings ini.