summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2015-02-09 20:10:33 -0500
committerLuke Shumaker <shumakl@purdue.edu>2015-02-09 20:10:33 -0500
commit59b4baf119ed0d4141d483942645bf6270e71cab (patch)
treeaa696df6d59c70071cc6224a5fb467e3cc8334a3
parentd42129fbfffbe1fee1cafe1f956090a4d0f47731 (diff)
Set DejaVu Sans Mono to be the default Monospace font
-rw-r--r--.config/X11/defaults2
-rw-r--r--.config/emacs/init.el2
-rw-r--r--.config/fontconfig/fonts.conf10
3 files changed, 12 insertions, 2 deletions
diff --git a/.config/X11/defaults b/.config/X11/defaults
index b9a0582..fca1914 100644
--- a/.config/X11/defaults
+++ b/.config/X11/defaults
@@ -12,7 +12,7 @@ URxvt.color12: #729FCF
URxvt.scrollstyle: plain
URxvt.scrollBar_floating: true
-URxvt.font: xft:DejaVu Sans Mono-8
+URxvt.font: xft:Monospace-8
URxvt.cursorBlink: true
URxvt.pastableTabs: true
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 6ea8e55..9890e68 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -42,7 +42,7 @@
;; This isn't particularly important, but set it before doing a whole
;; lot (loading packages), so there isn't a weird change in text size.
(setq notify-method 'notify-via-libnotify)
-(set-face-attribute 'default nil :height 80 :foundry "unknown" :family "DejaVu Sans Mono")
+(set-face-attribute 'default nil :height 80)
;;;; Bootstrap el-get ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf
new file mode 100644
index 0000000..e33733c
--- /dev/null
+++ b/.config/fontconfig/fonts.conf
@@ -0,0 +1,10 @@
+<fontconfig>
+ <match target="pattern">
+ <test qual="any" name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="assign">
+ <string>DejaVu Sans Mono</string>
+ </edit>
+ </match>
+</fontconfig>