summaryrefslogtreecommitdiff
path: root/scripts/.local/bin/genxresrouces
blob: d73b77533af1c3aefb69bc3c57bdf5eace1a30d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/sh

# Generates .Xresources

dpi="92"
if [ $(xdpyinfo | awk '/dimensions/ {print $2}') == '3840x2160' ]; then
	dpi="192"
fi

cat <<CONF
! special
*.foreground:   #e1a15b
*.background:   #0e0a05
*.cursorColor:  #e1a15b

! black
*.color0:       #222222
*.color8:       #000000

! red
*.color1:       #e75c58
*.color9:       #b22b31

! green
*.color2:       #00b800
*.color10:      #008100

! yellow
*.color3:       #ebeb00
*.color11:      #d3d300

! blue
*.color4:       #0082ff
*.color12:      #0061c3

! magenta
*.color5:       #d160c4
*.color13:      #a03196

! cyan
*.color6:       #009393
*.color14:      #007e7e

! white
*.color7:       #d2d2d2
*.color15:      #787878

Xft.dpi: $dpi
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hinting: 1
Xft.antialias: 1
Xft.rgba: rgb
CONF