Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update description

  • Loading branch information...
commit a866f7d225535551e6392837a062b5b7eb3d5626 1 parent 008e87f
Joshua Griffith authored

Showing 2 changed files with 18 additions and 13 deletions. Show diff stats Hide diff stats

  1. +3 2 README.md
  2. +15 11 theme-changer.el
5 README.md
Source Rendered
@@ -2,8 +2,9 @@ Sunrise/Sunset Theme Changer for Emacs
2 2 ======================================
3 3
4 4 Given a location and day/night color themes, this file provides a
5   -`change-theme` function that switches to the appropriate color theme
6   -at sunrise and sunset. To install:
  5 +`change-theme` function that selects the appropriate theme based on
  6 +whether it is day or night. It will continue to change themes at
  7 +sunrise and sunset. To install:
7 8
8 9 Set the location:
9 10
26 theme-changer.el
... ... @@ -1,4 +1,4 @@
1   -;;; theme-changer.el --- Change color theme at sunrise and sunset
  1 +;;; theme-changer.el --- Sunrise/Sunset Theme Changer for Emacs
2 2
3 3 ;; Copyright (C) 2011 Joshua B. Griffith
4 4
@@ -27,18 +27,22 @@
27 27
28 28 ;;; Commentary:
29 29
30   -;; Given a location and day and night color themes, this file provides a
31   -;; change-theme function that switches to the appropriate color theme at
32   -;; sunrise and sunset. For example:
  30 +;; Given a location and day/night color themes, this file provides a
  31 +;; `change-theme` function that selects the appropriate theme based on
  32 +;; whether it is day or night. It will continue to change themes at
  33 +;; sunrise and sunset. To install:
33 34
34   -;; ;; Set the location
35   -;; (setq calendar-location-name "Dallas, TX")
36   -;; (setq calendar-latitude 32.85)
37   -;; (setq calendar-longitude -96.85)
  35 +;; Set the location:
  36 +;; (setq calendar-location-name "Dallas, TX")
  37 +;; (setq calendar-latitude 32.85)
  38 +;; (setq calendar-longitude -96.85)
38 39
39   -;; ;; Specify the day and night themes
40   -;; (require 'theme-changer)
41   -;; (change-theme 'color-theme-solarized-light 'color-theme-solarized-dark)
  40 +;; Specify the day and night themes:
  41 +;; (require 'theme-changer)
  42 +;; (change-theme 'color-theme-solarized-light 'color-theme-solarized-dark)
  43 +
  44 +;; You may need to add this file path to your loadpath. For example:
  45 +;; (add-to-list 'load-path "~/.emacs.d/elisp/theme-changer")
42 46
43 47 ;;; Code:
44 48

0 comments on commit a866f7d

Please sign in to comment.
Something went wrong with that request. Please try again.