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

Feature request: Add option to display the actual percentage number in the bar #72

Open
RicArch97 opened this issue Apr 8, 2021 · 1 comment

Comments

@RicArch97
Copy link

Sometimes when changing the volume or brightness when in fullscreen, it might be usefull to display the percentage number in the bar as your will not be able to see your top/bottom panel. This is especially useful when incrementing or decrementing by 1 percent at the time.

I have the following in mind:

Option

--show-number

Shows the percentage number in the bar.

Config

--text-position <middle> <top> <bottom> <right> <left>

The position of the number in the bar. Left, right, top and bottom shows the number outside of the border in the center of their position. Middle displays the number within the bar, in the middle.

--text-color <rrggbb[aa]>

Text color in rrggbb or rrggbbaa.

--font <font>

Sets the font of the text.

--font-size

Fixed font size for the number text. (should not exceed the size of the bar)

--text-margin-right

Set margin on the left side of the text.

--text-margin-left

Set margin on the right side of the text.

--text-margin-top

Set margin above the text.

--text-margin-bottom

Set margin below the text.

Margins should not cause the text to exceed the border of the bar, if a value greater than the possible value is passed, the last possible value is used.

@Scrumplex
Copy link
Contributor

Maybe we could use fcft for this. It seems to be readily available on many distributions and probably in use by other applications that are common among a Wayland compositor.

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