mirror of
https://github.com/SqrtMinusOne/exwm-modeline.git
synced 2025-12-10 14:35:14 +03:00
Merge branch 'master' of github.com:SqrtMinusOne/exwm-modeline
This commit is contained in:
commit
f72e65818f
2 changed files with 6 additions and 6 deletions
10
README.org
10
README.org
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,8 @@
|
||||||
;; Take a look at `exwm-modeline-mode' for more info.
|
;; Take a look at `exwm-modeline-mode' for more info.
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
(eval-when-compile
|
||||||
|
(require 'cl-lib))
|
||||||
(require 'exwm)
|
(require 'exwm)
|
||||||
(require 'exwm-randr)
|
(require 'exwm-randr)
|
||||||
(require 'exwm-workspace)
|
(require 'exwm-workspace)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue