I’m using the adwaita-dark theme but the mode-line is too wide for my liking. In the theme code there’s a variable (mode-line-padding 10) which I assume sets the width of the mode line. Is there a way for me to reset this value in my init file, either before or after loading the theme code, to make it narrower? I’m using the code below to load it.

(use-package adwaita-dark-theme
  :ensure t
  :config
  (load-theme 'adwaita-dark t))

You are viewing a single thread.
View all comments View context
1 point

Many thanks for your suggestions. When I tried the first one however, the variable wasn’t recognised (I wonder if that’s because it’s internal to the theme code?). I’ll investigate your second suggestion.

permalink
report
parent
reply
1 point

Must be a variable then, not an option. Just use setq on it. If you want to automate it, you could advise load-theme similarly to how the function I linked does.

permalink
report
parent
reply

Emacs

!emacs@communick.news

Create post

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

  • Windows
  • Mac OS X
  • GNU/Linux and BSD (Just get it from your distribution’s package manager)

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for “emacs” and “vi” link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

Community stats

  • 18

    Monthly active users

  • 562

    Posts

  • 2.4K

    Comments