summaryrefslogtreecommitdiffstats
path: root/x11/.config/Xresources
diff options
context:
space:
mode:
authorGravatar Tom Willemse2015-09-29 17:02:02 +0200
committerGravatar Tom Willemse2015-09-29 17:02:02 +0200
commit7bbed8597298467fce199eefd31c4af9e8c74ae8 (patch)
treea69ceb6eb5475cf0d5417ac8cf32f1aec2e6780b /x11/.config/Xresources
parent39e3977cea7179516114d51795812d9840b7a229 (diff)
downloaddotfiles-7bbed8597298467fce199eefd31c4af9e8c74ae8.tar.gz
dotfiles-7bbed8597298467fce199eefd31c4af9e8c74ae8.zip
Add some Emacs settings
These settings were inspired by this Emacs config: https://github.com/wasamasa/dotemacs/blob/master/init.org Some existed already, but this was an opportune time to follow the instructions on the r/unixporn wiki to split your Xresources and to use variables: https://www.reddit.com/r/unixporn/wiki/organizing_xresources
Diffstat (limited to 'x11/.config/Xresources')
-rw-r--r--x11/.config/Xresources/Emacs.conf31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11/.config/Xresources/Emacs.conf b/x11/.config/Xresources/Emacs.conf
new file mode 100644
index 0000000..2ed650f
--- /dev/null
+++ b/x11/.config/Xresources/Emacs.conf
@@ -0,0 +1,31 @@
+!! If I talk like Data in this file, that is because Xresources do not
+!! allow all characters to appear in comments.
+
+!! All of these settings were inspired by the Emacs configuration of
+!! Vasilij Schneidermann:
+!! https://github.com/wasamasa/dotemacs/blob/master/init.org
+
+! These UI elements are useful when working with the mouse. I do not,
+! so they are not all that useful to me.
+Emacs.menuBar: off
+Emacs.toolBar: off
+Emacs.verticalScrollBars: off
+
+! Blinking cursors are just annoying. In fact, almost anything that
+! blinks incessantly is rather annoying.
+Emacs.cursorBlink: off
+
+! Switching colors from the default background to the one in my Emacs
+! theme gives me a headache. It is much nicer to have my preferred
+! color from the start. This color has been defined in my main
+! .Xdefaults.
+Emacs.background: backgroundColor
+
+! These settings do not match the ones in my Emacs theme, but they are
+! closer to the ones in my SVG mode-line theme.
+Emacs.mode-line.attributeForeground: foregroundColor
+Emacs.mode-line.attributeBackground: backgroundColor
+Emacs.mode-line.attributeBox: unspecified
+
+! My preferred font.
+Emacs.font: Fantasque Sans Mono-13