about summary refs log tree commit diff stats
path: root/config/X11
diff options
context:
space:
mode:
authorensa <psii@riseup.net>2020-06-29 20:47:19 -0700
committerensa <psii@riseup.net>2020-06-29 20:47:19 -0700
commit3b85135ec49ac1fc0eaf55dde8ecf07982b4d9fe (patch)
tree9d95ee18bcd7e71413742daf714894660791ea09 /config/X11
parente1d03e2fe607c5e1643be186c4ce4031ae1004e0 (diff)
downloadcfg-3b85135ec49ac1fc0eaf55dde8ecf07982b4d9fe.tar.gz
updated xresources, xprofile, removed mimeapps.list
config/
	X11/
		xresources
			now uses define, making the file more readable
			no more (deprecated) *.variables
			xterm:
			faceName uses monospace, minimal charwidth for cozette
			16color by default
			alt works properly
			font set to terminus (smaller than cozette)
			renderFont disabled (keep terminal window small)
			yes borderclipping
			no bold (only bright)
			selection color
			Translations: alt-shift-l sends the current page to fl
			sxiv:
			Medium style chosen (renders correctly)
			bg, fg
		xprofile
			no longer spawns mpd (mpd should be run as a dedicated user)
	mimeapps.list
		connected to applications/, no longer used
Diffstat (limited to 'config/X11')
-rw-r--r--config/X11/xprofile4
-rw-r--r--config/X11/xresources123
2 files changed, 74 insertions, 53 deletions
diff --git a/config/X11/xprofile b/config/X11/xprofile
index f376afa..865968a 100644
--- a/config/X11/xprofile
+++ b/config/X11/xprofile
@@ -15,9 +15,7 @@ xbg &
 dunst &
 # mouse vanishes when typing
 unclutter -noevents &
-# activate music daemon
-mpd &
-# and its scrobbler
+# activate mpd scrobbler
 mpdas -c $HOME_ETC/mpdasrc &
 # status bar
 bar.sh &
diff --git a/config/X11/xresources b/config/X11/xresources
index 1a306bf..7c019f7 100644
--- a/config/X11/xresources
+++ b/config/X11/xresources
@@ -1,61 +1,79 @@
 ! X colors.
-*foreground:        #b7a980
-*background:        #14130e
-*.foreground:       #b7a980
-*.background:       #14130e
+#define bg	#14130e
+#define fg	#b7a980
+#define sel	#a34110
+#define curs	#72694f
+#define bold	#CCBC8E
 
-! Colors 0-15.
-*.color0: #161510
-*color0:  #161510
-*.color1: #a32810
-*color1:  #a32810
-*.color2: #727a18
-*color2:  #727a18
-*.color3: #a37720
-*color3:  #a37720
-*.color4: #3d6266
-*color4:  #3d6266
-*.color5: #7a4955
-*color5:  #7a4955
-*.color6: #557a55
-*color6:  #557a55
-*.color7: #8e8463
-*color7:  #8e8463
-*.color8: #4c4635
-*color8:  #4c4635
-*.color9: #cc3214
-*color9:  #cc3214
-*.color10: #8e991e
-*color10:  #8e991e
-*.color11: #cc9528
-*color11:  #cc9528
-*.color12: #4c7b7f
-*color12:  #4c7b7f
-*.color13: #995b6b
-*color13:  #995b6b
-*.color14: #6b996b
-*color14:  #6b996b
-*.color15: #ccbc8e
-*color15:  #ccbc8e
+#define black	#161510
+#define red	#a32810
+#define green	#727a18
+#define brown	#a37720
+#define blue	#3d6266
+#define purp	#7a4955
+#define cyan	#557a55
+#define ligrey	#8e8463
+
+#define dagrey	#4c4635
+#define lired	#cc3214
+#define ligreen	#8e991e
+#define yellow	#cc9528
+#define liblue	#4c7b7f
+#define lipurp	#995b6b
+#define licyan	#6b996b
+#define white	#ccbc8e
 
-! Black color that will not be affected by bold highlighting.
-*.color66: #161510
-*color66:  #161510
+
+! X colors.
+*foreground: fg
+*background: bg
+
+! Colors 0-15.
+*color0: black
+*color1: red
+*color2: green
+*color3: brown
+*color4: blue
+*color5: purp
+*color6: cyan
+*color7: ligrey
+*color8: dagrey
+*color9: lired
+*color10: ligreen
+*color11: yellow
+*color12: liblue
+*color13: lipurp
+*color14: licyan
+*color15: white
+*color66: black
 
 ! XTerm config.
-XTerm*faceName: Cozette:pixelsize=11
-XTerm*cursorColor: #72694f
-XTerm*scrollBar: false
-XTerm*vt100.Translations: #override \
-    Alt Shift <Key>Y:    insert-selection(PRIMARY) \n\
-    Alt Shift <Key>V:    insert-selection(CLIPBOARD) \n\
-    Alt Shift <Key>C:    copy-selection(CLIPBOARD) \n\
+xterm*termName: xterm-16color
+xterm*metaSendsEscape: true
+xterm*font: -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1
+xterm*faceName: monospace:style=regular:charwidth=6
+xterm*renderFont: false
+xterm*useClipping: false
+xterm*useBorderClipping: true
+xterm*cursorColor: curs
+xterm*boldMode: false
+xterm*colorBD: bold
+xterm*colorBDMode: true
+xterm*highlightColorMode: true
+xterm*highlightReverse: false
+xterm*highlightColor: sel
+xterm*scrollBar: false
+xterm*dynamicColors: false
+xterm*vt100.Translations: #override \
+    Alt Shift <Key>L:   exec-selectable("fl %r",page) \n\
+    Alt Shift <Key>Y:   insert-selection(PRIMARY) \n\
+    Alt Shift <Key>V:   insert-selection(CLIPBOARD) \n\
+    Alt Shift <Key>C:   copy-selection(CLIPBOARD) \n\
     Alt <Key> K:   scroll-back(1,line) \n\
     Alt <Key> J:   scroll-forw(1,line) \n\
     Alt <Key> U:   scroll-back(1,halfpage) \n\
-    Alt <Key> D:   scroll-forw(1,halfpage)
-XTerm*allowMouseOps: false
-XTerm*useClipping: false
+    Alt <Key> D:   scroll-forw(1,halfpage) \n
+xterm*allowMouseOps: false
 
 ! Xclock colors.
 XClock*majorColor:  rgba:cc/bc/8e/ff
@@ -63,3 +81,8 @@ XClock*minorColor:  rgba:cc/bc/8e/ff
 XClock*hourColor:   rgba:cc/bc/8e/ff
 XClock*minuteColor: rgba:cc/bc/8e/ff
 XClock*secondColor: rgba:cc/bc/8e/ff
+
+! sxiv
+Sxiv*font: Cozette:style=Medium:pixelsize=11
+Sxiv*background: bg
+Sxiv*foreground: fg