This commit is contained in:
Xavier Logerais (Numericable - Ingénierie Système) 2015-03-24 12:28:02 +01:00
commit 8700b8e2c9
2 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,4 @@
if [ -f /etc/gentoo-release ] if [ -f /etc/gentoo-release -a "$UID" -ne 0 ]
then then
alias emerge='sudo emerge' alias emerge='sudo emerge'
alias etc-update='sudo etc-update' alias etc-update='sudo etc-update'

View File

@ -1,22 +1,22 @@
#!/bin/bash #!/bin/bash
#
URXVT_FONT_NAME="DejaVu Sans Mono" #URXVT_FONT_NAME="DejaVu Sans Mono"
URXVT_FONT_SIZE=16 #URXVT_FONT_SIZE=16
URXVT_FONT_INCREMENT=1 #URXVT_FONT_INCREMENT=1
#
# Quick functions ## Quick functions
#
zp() { #zp() {
URXVT_FONT_SIZE=$(echo "$URXVT_FONT_SIZE+$URXVT_FONT_INCREMENT" | bc ) # URXVT_FONT_SIZE=$(echo "$URXVT_FONT_SIZE+$URXVT_FONT_INCREMENT" | bc )
urxvt_set_font "${URXVT_FONT_NAME}:size=${URXVT_FONT_SIZE}" # urxvt_set_font "${URXVT_FONT_NAME}:size=${URXVT_FONT_SIZE}"
} #}
#
zm() { #zm() {
URXVT_FONT_SIZE=$(echo "$URXVT_FONT_SIZE-$URXVT_FONT_INCREMENT" | bc ) # URXVT_FONT_SIZE=$(echo "$URXVT_FONT_SIZE-$URXVT_FONT_INCREMENT" | bc )
urxvt_set_font "${URXVT_FONT_NAME}:size=${URXVT_FONT_SIZE}" # urxvt_set_font "${URXVT_FONT_NAME}:size=${URXVT_FONT_SIZE}"
} #}
#
if [ -z "$SSH_CONNECTION" ] #if [ -z "$SSH_CONNECTION" ]
then #then
urxvt_set_font "${URXVT_FONT_NAME}:size=${URXVT_FONT_SIZE}" # urxvt_set_font "${URXVT_FONT_NAME}:size=${URXVT_FONT_SIZE}"
fi #fi