Permalink
Browse files

Default xterm window has smaller height now.

  • Loading branch information...
1 parent a16e497 commit 9ea7a039eb871a5d6c9474b7aea6ade59b82096d @Nadrin committed Oct 14, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 etc/xlshrc
  2. +1 −1 src/xlsh.c
View
@@ -7,7 +7,7 @@ BGCOLOR="rgb:1E/23/1F"
screen_w=$(xwininfo -root | grep Width | cut -f2 -d':')
screen_h=$(xwininfo -root | grep Height | cut -f2 -d':')
px=$(($screen_w/2 - 240))
-py=$(($screen_h/2 - 150))
+py=$(($screen_h/2 - 120))
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin
export PATH
@@ -17,4 +17,4 @@ if ! which xlsh; then
fi
xrdb -merge "$XRESFILE"
xsetroot -solid "$BGCOLOR"
-exec $TERMINAL -g 80x24+$px+$py $(which xlsh)
+exec $TERMINAL -g 80x15+$px+$py $(which xlsh)
View
@@ -45,7 +45,7 @@ static xlsh_command_t xlsh_commands[] = {
{ "login", " : Logins specified user into the system", xlsh_func_login },
{ "reboot", " : Reboots the system", xlsh_func_reboot },
{ "shutdown", ": Halts the system", xlsh_func_shutdown },
- { "exit", " : Exits (reloads) login shell", xlsh_func_exit },
+ { "exit", " : Exits (reloads) login shell", xlsh_func_exit },
{ "help", " : Prints all available commands", xlsh_func_help },
{ "version", " : Prints copyright and version information", xlsh_func_version },
{ NULL, NULL, NULL },

0 comments on commit 9ea7a03

Please sign in to comment.