xsession: configure gnome-terminal as urxvt

Just in case...
This commit is contained in:
Vincent Bernat 2013-01-23 01:44:28 +01:00
parent 8c473e6403
commit 7153d1d201

View file

@ -25,4 +25,26 @@ export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'
[ -x /usr/sbin/rfkill ] && rfkill block all 2> /dev/null
[ -x /usr/bin/xbacklight ] && xbacklight = 60 2> /dev/null
# Configure gnome-terminal
gnoterm() {
gconftool-2 --type $1 --set /apps/gnome-terminal/profiles/Default/$2 $3
}
gnoterm int scrollback_lines 5000
gnoterm bool scroll_on_output false
gnoterm bool scroll_on_keystroke true
gnoterm bool default_show_menubar false
gnoterm string cursor_blink_mode on
gnoterm bool use_system_font false
gnoterm string font "DejaVu Sans Mono 8"
gnoterm bool use_theme_colors false
gnoterm float background_darkness 0.92
gnoterm string background_type transparent
gnoterm string foreground_color "#FFFFFF"
gnoterm string background_color "#000000"
gnoterm string palette \
$(sed -n 's/^.color\([0-9]*\): /\1/p' ~/.Xresources | sort -n | \
awk '{print $2}' | tr '\n' ':' | sed 's/:$//')
exec awesome