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
3f548cf9
Commit
3f548cf9
authored
Jan 10, 2019
by
James T. Lee
Browse files
urxvt: Set padding based on scaling factor
parent
cbb1b293
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
.Xresources.erb
.Xresources.erb
+2
-0
No files found.
.Xresources.erb
View file @
3f548cf9
<%
require
'colorscheme'
<%
require
'colorscheme'
dark
=
ColorScheme
.
dark
dark
=
ColorScheme
.
dark
light
=
ColorScheme
.
light
light
=
ColorScheme
.
light
gui_scaling_factor
=
@facts
[
'scaling'
]
?
@facts
[
'scaling'
][
'gui'
]
:
1
light
.
terminal
.
each
do
|
c
|
-%>
light
.
terminal
.
each
do
|
c
|
-%>
*color
<%=
c
.
ansi
%>
:
<%=
c
.
x11
%>
*color
<%=
c
.
ansi
%>
:
<%=
c
.
x11
%>
<%
end
-%>
<%
end
-%>
...
@@ -16,6 +17,7 @@ URxvt.background: <%= dark.background.x11 %>
...
@@ -16,6 +17,7 @@ URxvt.background: <%= dark.background.x11 %>
URxvt.borderColor:
<%=
dark
.
background
.
x11
%>
URxvt.borderColor:
<%=
dark
.
background
.
x11
%>
URxvt.cursorColor:
<%=
dark
.
cursor
.
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.internalBorder:
<%=
(
2
*
gui_scaling_factor
).
round
%>
URxvt.perl-ext-common: font-size,new-window,osc-xterm-clipboard
URxvt.perl-ext-common: font-size,new-window,osc-xterm-clipboard
URxvt.keysym.C-M-equal: perl:font-size:increase
URxvt.keysym.C-M-equal: perl:font-size:increase
URxvt.keysym.C-M-plus: perl:font-size:increase
URxvt.keysym.C-M-plus: perl:font-size:increase
...
...
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