Skip to content

Commit f72e658

Browse files
committed
Merge branch 'master' of github.com:SqrtMinusOne/exwm-modeline
2 parents a29f4c6 + 852a88a commit f72e658

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.org

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#+TITLE: exwm-modeline
22

3+
[[https://melpa.org/#/exwm-modeline][file:https://melpa.org/packages/exwm-modeline-badge.svg]]
4+
35
A modeline segment to display exwm workspaces.
46

57
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:
1315
- Numbers are clickable.
1416

1517
* Installation
16-
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:
17-
#+begin_src emacs-lisp
18-
(require 'exwm-modeline)
19-
#+end_src
18+
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]]:
2019

21-
My preferred way is to use =use-package= with =straight=:
2220
#+begin_src emacs-lisp
2321
(use-package exwm-modeline
24-
:straight (:host github :repo "SqrtMinusOne/exwm-modeline")
22+
:straight t
2523
:after (exwm))
2624
#+end_src
2725

exwm-modeline.el

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
;; Take a look at `exwm-modeline-mode' for more info.
3939

4040
;;; Code:
41+
(eval-when-compile
42+
(require 'cl-lib))
4143
(require 'exwm)
4244
(require 'exwm-randr)
4345
(require 'exwm-workspace)

0 commit comments

Comments
 (0)