Re: [dwm] bottom-cut

From: Sander van Dijk <a.h.vandijk_AT_gmail.com>
Date: Sun, 27 Aug 2006 12:35:51 +0200

On 8/26/06, mikshaw <mrblog_AT_yahoo.com> wrote:
> Aterm (a derivative of rxvt?) does the same thing, not consistently but
> often enough to be a small annoyance. I fix it by toggling max mode and
> then back to tile.

If toggling max fixes it for you, it's possibly related to the
terminal emulator "missing" the initial resize dwm does (rxvt has that
too sometimes). If that's the case doing something like this at the
end of your .kshrc might fix (or rather, work around) it:

if test "$TERM" = "xterm"
then
    eval `resize`
fi

(change 'xterm' to whatever the value of TERM is in your terminal
emulator of course (look it up with "echo $TERM"), and change .kshrc
to whatever your shell's startup script is (probably .bashrc if you're
on linux).

Greetings, Sander.
Received on Sun Aug 27 2006 - 12:35:52 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:35 UTC