1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Scale everything for HiDPI screen

This commit is contained in:
Joe Groocock 2016-04-16 18:54:16 +01:00 committed by Joe Groocock
parent 9d9035a8ad
commit e31edd3980
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86
4 changed files with 17 additions and 34 deletions

View File

@ -18,17 +18,17 @@ xterm.metaSendsEscape: true
!Set TERM
urxvt.termName: xterm-256color
Xft.dpi: 96
Xft.dpi: 128
Xft.antialias: true
Xft.rgba: rgb
Xft.autohint: false
Xft.hinting: true
Xft.hintstyle: hintfull
urxvt*font: xft:Sauce Code Pro:style=Regular:size=9
urxvt*imFont: xft:Sauce Code Pro:style=Regular:size=9
urxvt*boldFont: xft:Sauce Code Pro:style=Bold:size=9
urxvt*italicFont: xft:Sauce Code Pro:style=Italic:size=9
urxvt*boldItalicFont: xft:Sauce Code Pro:style=Bold,Italic:size=9
urxvt*font: xft:Sauce Code Pro:style=Regular:size=10.5
urxvt*imFont: xft:Sauce Code Pro:style=Regular:size=10.5
urxvt*boldFont: xft:Sauce Code Pro:style=Bold:size=10.5
urxvt*italicFont: xft:Sauce Code Pro:style=Italic:size=10.5
urxvt*boldItalicFont: xft:Sauce Code Pro:style=Bold,Italic:size=10.5
! clickable Url and copy paste keys
@ -104,10 +104,10 @@ rofi.color-normal: #00383C4A, #D3DAE3, #00383C4A, #5294E2, #ECEFF1
rofi.bc: #CC383C4A
rofi.bw: 5
rofi.padding: 8
rofi.lines: 12
rofi.lines: 14
rofi.width: 40
rofi.font: Noto Sans 14
rofi.line-margin: 6
rofi.font: Noto Sans 18
rofi.line-margin: 4
rofi.sep: |
rofi.prompt: >
rofi.ssh-command: {terminal} -e "{ssh-client} {host}"

View File

@ -44,22 +44,6 @@ bindsym $mod+e sticky toggle
bindsym $mod+a focus parent
bindsym $mod+o focus child
# Screen configs #
set $bl "DP-5"
set $tl "DP-1"
set $br "HDMI-0"
set $tr "DP-3"
# Workspace -> Screen
workspace 1 output $bl
workspace 2 output $br
workspace 3 output $tl
workspace 4 output $tr
workspace 5 output $bl
workspace 6 output $br
workspace 7 output $tl
workspace 8 output $tr
# switch to workspace
bindsym $mod+1 workspace 1
bindsym $mod+2 workspace 2
@ -112,13 +96,11 @@ bar {
workspace_buttons yes
strip_workspace_numbers yes
tray_output primary
tray_padding 4
height 24
tray_padding 2
height 28
output $bl
output $br
output primary
position bottom
position top
colors {
separator #757575
@ -143,8 +125,8 @@ for_window [title="^rofi$"] floating enable
new_window pixel 5
new_float none
gaps inner 7
gaps outer 2
gaps inner 11
gaps outer 1
#smart_gaps on
focus_follows_mouse yes

View File

@ -1,5 +1,5 @@
[options]
font = SauceCodePro 9
font = SauceCodePro 10.5
scrollback_lines = 100000
cursor_blink = off
size_hints = true

View File

@ -1,3 +1,4 @@
setxkbmap -option caps:none
xset r rate 200 18
xrandr --dpi 96
xrandr --dpi 125
xrandr --output eDP-1 --primary