Browse Source

Move .Xdefaults to separate, host-specific configuration

Alois Mahdal 10 years ago
parent
commit
9f8ccedd80

+ 11
- 0
dotfiles.config/Xlib/bin/setup View File

@@ -0,0 +1,11 @@
1
+#!/bin/bash
2
+
3
+host=`hostname`
4
+
5
+cat<<EOF > $HOME/.Xdefaults
6
+!! This file is generated by .config/Xlib/bin/setup
7
+!! from mydots.  Changes are not tracked by mydots.
8
+
9
+# include "$HOME/.config/Xlib/global.Xdefaults"
10
+# include "$HOME/.config/Xlib/host/${host}.Xdefaults"
11
+EOF

dotfiles/Xdefaults → dotfiles.config/Xlib/global.Xdefaults View File

@@ -4,8 +4,6 @@
4 4
 !## ==== ##
5 5
 
6 6
 
7
-URxvt.geometry:             90x24
8
-
9 7
 !## extensions
10 8
 URxvt.perl-ext-common:      default,tabbed,selection
11 9
 URxvt.tabbed.tab-fg:        7
@@ -33,9 +31,6 @@ URxvt.scrollstyle:          plain
33 31
 URxvt.scrollWithBuffer:     true
34 32
 URxvt.saveLines:            32767
35 33
 
36
-!## font
37
-URxvt.font:     xft:Dejavu Sans Mono:pixelsize=13
38
-URxvt.boldFont: xft:Dejavu Sans Mono:pixelsize=13:style=Bold
39 34
 URxvt.cursorUnderline:      false
40 35
 URxvt.cursorBlink:          true
41 36
 URxvt.pointerBlankDelay:    999999999

+ 3
- 0
dotfiles.config/Xlib/host/hugo.Xdefaults View File

@@ -0,0 +1,3 @@
1
+URxvt.geometry: 90x27
2
+URxvt.font:     xft:Dejavu Sans Mono:pixelsize=11:antialias=false
3
+URxvt.boldFont: xft:Dejavu Sans Mono:pixelsize=11:antialias=false:style=Bold