]> git.siccegge.de Git - dotfiles/emacs.git/commitdiff
Use .emacs.d/init.el + transparency
authorChristoph Egger <christoph@christoph-egger.org>
Mon, 15 Feb 2016 14:23:15 +0000 (15:23 +0100)
committerChristoph Egger <christoph@christoph-egger.org>
Mon, 15 Feb 2016 14:23:15 +0000 (15:23 +0100)
Gets rid of all the symlinking outside .emacs.d and still keeps
everything cleanly in one nice git.

Also does transparency for added gain!

config/transparent.el [new file with mode: 0644]
emacs [deleted file]
init.el [new file with mode: 0644]

diff --git a/config/transparent.el b/config/transparent.el
new file mode 100644 (file)
index 0000000..bde6614
--- /dev/null
@@ -0,0 +1,2 @@
+(set-frame-parameter (selected-frame) 'alpha '(90 80))
+(add-to-list 'default-frame-alist '(alpha 90 80))
diff --git a/emacs b/emacs
deleted file mode 100644 (file)
index f0dab4b..0000000
--- a/emacs
+++ /dev/null
@@ -1,24 +0,0 @@
-(add-to-list 'load-path "~/.emacs.d/lisp/")
-
-(require 'cl)
-
-(setq emacs-private-config (expand-file-name "~/.emacs.d/config/"))
-
-(load-file "~/.emacs-site.el")
-
-(setq custom-file "~/.emacs.d/emacs-custom.el")
-(load custom-file)
-
-(dolist (file-to-load '("fonts.el"
-                        "yas.el"
-                        "python.el"
-                        "c.el"
-                        "irony.el"
-                        "org.el"
-                        "slime.el"
-                        "whitespace.el"
-                        "general.el"
-                        "jabber.el"
-                        "erc.el"
-                        "pastebin.el"))
-  (load-file (concat emacs-private-config file-to-load)))
diff --git a/init.el b/init.el
new file mode 100644 (file)
index 0000000..7da5c38
--- /dev/null
+++ b/init.el
@@ -0,0 +1,25 @@
+(add-to-list 'load-path "~/.emacs.d/lisp/")
+
+(require 'cl)
+
+(setq emacs-private-config (expand-file-name "~/.emacs.d/config/"))
+
+(load-file "~/.emacs-site.el")
+
+(setq custom-file "~/.emacs.d/emacs-custom.el")
+(load custom-file)
+
+(dolist (file-to-load '("fonts.el"
+                        "yas.el"
+                        "python.el"
+                        "c.el"
+                        "irony.el"
+                        "org.el"
+                        "slime.el"
+                        "whitespace.el"
+                        "general.el"
+                        "jabber.el"
+                        "erc.el"
+                        "pastebin.el"
+                        "transparent.el"))
+  (load-file (concat emacs-private-config file-to-load)))