Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
James T. Lee
Dotfiles
Commits
724a9169
Commit
724a9169
authored
Sep 08, 2017
by
James T. Lee
Browse files
Xresources: Use light color scheme for GUIs
parent
61234cf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
6 deletions
+20
-6
.Xresources.erb
.Xresources.erb
+20
-6
No files found.
.Xresources.erb
View file @
724a9169
<%
require
'colorscheme'
<%
require
'colorscheme'
cs
=
ColorScheme
.
dark
dark
=
ColorScheme
.
dark
cs
.
terminal
.
each
do
|
c
|
-%>
light
=
ColorScheme
.
light
light
.
terminal
.
each
do
|
c
|
-%>
*color
<%=
c
.
ansi
%>
:
<%=
c
.
x11
%>
*color
<%=
c
.
ansi
%>
:
<%=
c
.
x11
%>
<%
end
-%>
<%
end
-%>
*foreground:
<%=
cs
.
foreground
.
x11
%>
*foreground:
<%=
light
.
colors_by_base
[
0x06
].
x11
%>
*background:
<%=
cs
.
background
.
x11
%>
*background:
<%=
light
.
colors_by_base
[
0x01
].
x11
%>
*borderColor:
<%=
cs
.
background
.
x11
%>
*borderColor:
<%=
light
.
colors_by_base
[
0x03
].
x11
%>
*cursorColor:
<%=
cs
.
cursor
.
x11
%>
<%
dark
.
terminal
.
each
do
|
c
|
-%>
URxvt.color
<%=
c
.
ansi
%>
:
<%=
c
.
x11
%>
<%
end
-%>
URxvt.foreground:
<%=
dark
.
foreground
.
x11
%>
URxvt.background:
<%=
dark
.
background
.
x11
%>
URxvt.borderColor:
<%=
dark
.
background
.
x11
%>
URxvt.cursorColor:
<%=
dark
.
cursor
.
x11
%>
URxvt.font: xft:Hack:size=9,xft:DejaVu Sans Mono
URxvt.font: xft:Hack:size=9,xft:DejaVu Sans Mono
URxvt.perl-ext-common: font-size,new-window
URxvt.perl-ext-common: font-size,new-window
URxvt.keysym.C-M-equal: perl:font-size:increase
URxvt.keysym.C-M-equal: perl:font-size:increase
...
@@ -25,6 +32,13 @@ URxvt.secondaryWheel: true
...
@@ -25,6 +32,13 @@ URxvt.secondaryWheel: true
URxvt.termName: rxvt-unicode-256color-powerline
URxvt.termName: rxvt-unicode-256color-powerline
URxvt.urgentOnBell: true
URxvt.urgentOnBell: true
<%
dark
.
terminal
.
each
do
|
c
|
-%>
xterm*color
<%=
c
.
ansi
%>
:
<%=
c
.
x11
%>
<%
end
-%>
xterm*foreground:
<%=
dark
.
foreground
.
x11
%>
xterm*background:
<%=
dark
.
background
.
x11
%>
xterm*borderColor:
<%=
dark
.
background
.
x11
%>
xterm*cursorColor:
<%=
dark
.
cursor
.
x11
%>
xterm*termName: xterm-256color-powerline
xterm*termName: xterm-256color-powerline
xterm*faceName: monospace
xterm*faceName: monospace
xterm*faceSize: 9
xterm*faceSize: 9
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment