docs: add MELPA badge

This commit is contained in:
Pavel Korytov 2022-02-05 11:32:22 +03:00 committed by GitHub
parent 86bce1d910
commit 3225ec1803
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,7 @@
#+TITLE: exwm-modeline #+TITLE: exwm-modeline
[[https://melpa.org/#/exwm-modeline][file:https://melpa.org/packages/exwm-modeline-badge.svg]]
A modeline segment to display exwm workspaces. A modeline segment to display exwm workspaces.
Here's how it looks near the list of [[https://github.com/nex3/perspective-el][perspectives]] (the segment of the current package is to the left): Here's how it looks near the list of [[https://github.com/nex3/perspective-el][perspectives]] (the segment of the current package is to the left):
@ -13,15 +15,11 @@ Features:
- Numbers are clickable. - Numbers are clickable.
* Installation * Installation
As the package isn't yet available anywhere but in this repository, you can clone the repository, add it to the =load-path=, and =require= the package: The package is available on MELPA. Install it however you usually install packages, I use [[https://github.com/jwiegley/use-package][use-package]] and [[https://github.com/raxod502/straight.el][straight.el]]:
#+begin_src emacs-lisp
(require 'exwm-modeline)
#+end_src
My preferred way is to use =use-package= with =straight=:
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package exwm-modeline (use-package exwm-modeline
:straight (:host github :repo "SqrtMinusOne/exwm-modeline") :straight t
:after (exwm)) :after (exwm))
#+end_src #+end_src