diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-01-07 14:24:34 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-01-07 14:24:34 +0000 |
commit | a0a3cc0d2fc5d73af44667a7841f8beed0ce19a6 (patch) | |
tree | 8cabb49fdad9a6ff4d860681876febb2f07c557d /x11-wm | |
parent | New ebuild for bug #141530 (diff) | |
download | gentoo-2-a0a3cc0d2fc5d73af44667a7841f8beed0ce19a6.tar.gz gentoo-2-a0a3cc0d2fc5d73af44667a7841f8beed0ce19a6.tar.bz2 gentoo-2-a0a3cc0d2fc5d73af44667a7841f8beed0ce19a6.zip |
Add missing file
(Portage version: 2.1.1-r2)
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/dwm/files/dwm-session | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-wm/dwm/files/dwm-session b/x11-wm/dwm/files/dwm-session new file mode 100644 index 000000000000..a7e32f5b22d9 --- /dev/null +++ b/x11-wm/dwm/files/dwm-session @@ -0,0 +1,16 @@ +#!/bin/sh +DIR=${HOME}/.dwm +mkdir -p "${DIR}" +if [ ! -p "${DIR}"/status ]; then + rm -f "${DIR}"/status + mkfifo "${DIR}"/status +fi +if [ -f "${DIR}"/dwmrc ]; then + /bin/sh "${DIR}"/dwmrc >"${DIR}"/status & +else + (while true; do + echo `date` + sleep 1 + done >"${DIR}"/status)& +fi +exec /usr/bin/dwm <"${DIR}"/status |