Show clock and battery status in mode-line
This commit is contained in:
parent
5ab55e289d
commit
dfe54f7652
19
config.org
19
config.org
@ -356,6 +356,25 @@ needs to be set up to install them if they aren't already.
|
|||||||
(start-process-shell-command "xrandr" nil xrandr-command))))
|
(start-process-shell-command "xrandr" nil xrandr-command))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** Mode Line
|
||||||
|
*** Clock
|
||||||
|
The time is a useful thing to know... and 12-hour clock is for
|
||||||
|
losers.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(setq display-time-24hr-format t)
|
||||||
|
(display-time-mode 1)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
*** Battery
|
||||||
|
Also useful to know, but only on a laptop... once I'm using this
|
||||||
|
configuration on Mandarax as well I'll probably have to
|
||||||
|
conditionally disable it.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(display-battery-mode 1)
|
||||||
|
#+end_src
|
||||||
|
|
||||||
* Passwords
|
* Passwords
|
||||||
This was a little more work than I expected... =password-store=
|
This was a little more work than I expected... =password-store=
|
||||||
provides a nice interface to =pass=, but annoyingly appears to
|
provides a nice interface to =pass=, but annoyingly appears to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user