[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/moe-theme 882af74e0d 036/352: 1. Add document for variable
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/moe-theme 882af74e0d 036/352: 1. Add document for variable `moe-theme-switch-by-sunrise-and-sunset` in README. |
Date: |
Fri, 7 Jan 2022 03:59:04 -0500 (EST) |
branch: elpa/moe-theme
commit 882af74e0d2cb8aead92d8b4310f31b786da8bbd
Author: kuanyui <azazabc123@gmail.com>
Commit: kuanyui <azazabc123@gmail.com>
1. Add document for variable `moe-theme-switch-by-sunrise-and-sunset` in
README.
---
README.md | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 339230ff3e..5667bd0f60 100644
--- a/README.md
+++ b/README.md
@@ -51,7 +51,7 @@ Or you can load theme just by adding:
(load-file "~/.emacs.d/themes/moe-dark-theme.el")
```
-### Have A Good Mood Today?
+## Have A Good Mood Today?
I prefer a terminal with a black-on-white color scheme. I found that in the
daytime, sunlight is strong and black-on-white is more readable; However,
white-on-black would be less harsh to the eyes at night.
So if you like, you can add the following line to your `~/.emacs` to
automatically switch between `moe-dark` and `moe-light` according to the system
time:
@@ -62,6 +62,22 @@ So if you like, you can add the following line to your
`~/.emacs` to automatical
By adding the line above, your Emacs will have a light theme in the day and a
dark one at night. =w=+
+### Live in Antarctica?
+Daytime is longer in summer but shorter in winter; or you live in a high
latitude region which midnight-sun or polar-night may occur such as Finland or
Antarctica?
+
+There's a variable `moe-theme-switch-by-sunrise-and-sunset` would solve your
problem (default value is `t`)
+
+If this value is `nil`, `moe-theme-switcher` will switch theme at fixed time
(06:00 and 18:00).
+
+If this value is `t` and both `calendar-latitude` and `calendar-longitude` are
set properly, the switching will be triggered at the sunrise and sunset time of
the local calendar.
+
+Take "Keelung, Taiwan" (25N,121E) for example, you can set like this:
+
+```lisp
+ (setq calendar-latitude +25)
+ (setq calendar-longitude +121)
+```
+
## Note
### No 256-Color Output?
If your terminal emulator doesn't render 256-color output correctly, set its
environment variable `TERM` to `xterm-256color`. For example, if you are using
`Konsole`, navigate to `Edit Current Profile > General > Environment > Edit`
and add the following line:
- [nongnu] elpa/moe-theme 49a51d6b83 335/352: moe-theme-flavour-default, (continued)
- [nongnu] elpa/moe-theme 49a51d6b83 335/352: moe-theme-flavour-default, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 06235c61f3 336/352: (Maybe) Fix background of font-lock. issue #103, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 4c2b510809 337/352: Fix unclear face of magit-section-heading-selection, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme f3ee835b5f 338/352: notmuch: Distinguishable color for single-line message summary (#104), ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 4e6545b901 339/352: Maybe fixed the bug when installing over MELPA, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 68aa6f854a 343/352: Add forgotten dependancy cl, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme d432815230 347/352: cl prefix delete-if-not (#114), ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme a822081fa6 349/352: Add copyright and license statement, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme db057d5711 350/352: Add a version header for version 0.1, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 52102d23f5 352/352: Bump version header to 1.0.2, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 882af74e0d 036/352: 1. Add document for variable `moe-theme-switch-by-sunrise-and-sunset` in README.,
ELPA Syncer <=
- [nongnu] elpa/moe-theme 60261e7880 070/352: No load when installing from package.el, but I don't sure this works..., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme f5c50b1702 073/352: Light face for Org-mode Agenda., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 82a6a10714 086/352: Less yellow background in moe-light (GUI-only)., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 54c3e397ca 216/352: Fix too-harsh warning/error face in Haskell., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme eb796f89fe 231/352: Fix a typo, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 97038ba402 184/352: Darken the linum faces, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 74658b8d09 191/352: Set font-lock-type-face into blue-1, which is more clear than cyan-3., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 41fd9bb686 202/352: Merge pull request #32 from tanzoniteblack/rm-git-gutter-fringe, ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 0ae0406158 214/352: Darken header-line style in moe-dark; fix terrible info style., ELPA Syncer, 2022/01/07
- [nongnu] elpa/moe-theme 3fc15b90b4 195/352: Rearrange some faces for org-outlines., ELPA Syncer, 2022/01/07