aboutsummaryrefslogtreecommitdiff
path: root/ratpoison
diff options
context:
space:
mode:
Diffstat (limited to 'ratpoison')
-rwxr-xr-xratpoison/panel/panel9
1 files changed, 1 insertions, 8 deletions
diff --git a/ratpoison/panel/panel b/ratpoison/panel/panel
index 414fffc..010c62e 100755
--- a/ratpoison/panel/panel
+++ b/ratpoison/panel/panel
@@ -2,12 +2,6 @@
cd ~/.ratpoison/panel
source ./profile
source ~/.colors
-if [ $(pgrep -cx panel) -gt 1 ] ; then
- printf "%s\n" "The panel is already running." >&2
- exit 1
-fi
-
-trap 'trap - TERM; kill 0' INT TERM QUIT EXIT
[ -e "$PANEL_FIFO" ] && rm "$PANEL_FIFO"
mkfifo "$PANEL_FIFO"
@@ -27,5 +21,4 @@ source ./panel_colors
cat "$PANEL_FIFO" | ./panel_bar | bar -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" &
-stalonetray --geometry 4x1-1+1 --icon-gravity E --grow-gravity E -bg $COLOR0 -i 18
-wait
+stalonetray --geometry 4x1-1+1 --icon-gravity E --grow-gravity E -bg $COLOR0 -i 18 &