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

Allow customizing the indicator position #3

Open
yantar92 opened this issue Jan 22, 2022 · 3 comments
Open

Allow customizing the indicator position #3

yantar92 opened this issue Jan 22, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@yantar92
Copy link
Contributor

Your version of keycast looks nice at the tab-line, except that I do not really want to use the rest of the tab-line.

So, I have customized the tab-line format as the following:

(setq-default tab-bar-format nil)
  (set-face-attribute 'tab-bar nil
                      :inherit 'default
                      :underline (color-lighten-name (face-foreground 'default) 80))

However, it now feels natural to move the keycast indicator to the left. It would be useful to add such customization.

@ir33k
Copy link
Owner

ir33k commented Jan 22, 2022

Yea, customization for alignment seems like a good idea.

@ir33k ir33k added the enhancement New feature or request label Jan 23, 2022
@ir33k
Copy link
Owner

ir33k commented Jan 25, 2022

It's now possible to customize status alignment with tb-keycast-status-align and tb-keycast-status-min-width.

You can try this:

(setq tb-keycast-status-align 'left)

Later I will add documentation to both custom vars.

@ir33k
Copy link
Owner

ir33k commented Jan 25, 2022

With this:

(setq tab-bar-format nil)
(setq tb-keycast-status-align 'left)
(setq tb-keycast-status-min-width 0)    ;optional
(tb-keycast-mode 1)

you will have just tb-keycast status in tab-bar line.

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

No branches or pull requests

2 participants