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))

  • taeknibunadur@alien.topOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.

    • github-alphapapa@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      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.