From 7b361f9d7efc05520bb5c956306280342a10006e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 12 Sep 2020 14:18:18 -0700 Subject: linux: a few more configs Update Xresources with a few more things related to urxvt and font rendering. Update the xsession script to add redshift and load explicitly the content of Xresources. --- Xresources | 25 ++++++++++++++++++++++++- xsession | 9 +++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) mode change 100644 => 100755 xsession diff --git a/Xresources b/Xresources index a7b2200..dae0e3f 100644 --- a/Xresources +++ b/Xresources @@ -1,3 +1,26 @@ -Xft.dpi: 192 +Emacs*toolBar: 0 +Emacs*menuBar: 0 +Emacs*verticalScrollBars: off +URxvt.jumpScroll: true +URxvt.skipScroll: true +URxvt.saveLines: 32768 +URxvt.scrollBar: false +URxvt.internalBorder: 1 +URxvt.cursorBlink: 0 +URxvt.visualBell: off +URxvt.perl-ext: selection,mark-yank-urls,cwd-spawn,selection-to-clipboard +URxvt.scrollstyle: next URxvt.font: xft:Bitstream Vera Sans Mono:size=10 + +Xft.dpi: 192 +Xft.autohint: 0 +Xft.lcdfilter: lcddefault +Xft.hintstyle: hintslight +Xft.hinting: 1 +Xft.antialias: 1 +Xft.rgba: rgb + +XTerm.vt100.termName: xterm-256color + + diff --git a/xsession b/xsession old mode 100644 new mode 100755 index 3988e83..8c3d6ef --- a/xsession +++ b/xsession @@ -1,3 +1,12 @@ +#!/usr/bin/bash + +xrdb $HOME/.Xresources + +# Run redshift, but don’t fail if it’s not (yet) available +if command -V redshift >/dev/null 2>&1; then + redshift -m randr -l 47.31:8.50 -t 6000:5300 -b 0.8 & +fi + # set the background to something less aggressive than black xsetroot -solid "#333333" -cursor_name left_ptr -- cgit v1.2.3