aboutsummaryrefslogtreecommitdiff
path: root/ratpoison/panel
diff options
context:
space:
mode:
authorvaskozl <vasil.zlatanov@gmail.com>2015-02-12 21:25:21 +0100
committervaskozl <vasil.zlatanov@gmail.com>2015-02-12 21:25:21 +0100
commit95bc93e47fcd6d9f807efaad725016bb624cd6e9 (patch)
tree6df3742a001ba89eb8c04b045bcaee4a5f8f3f37 /ratpoison/panel
parent27aabea1091791314e7eeffb5b3e22c2bc8fff18 (diff)
downloaddotfiles-95bc93e47fcd6d9f807efaad725016bb624cd6e9.tar.gz
dotfiles-95bc93e47fcd6d9f807efaad725016bb624cd6e9.tar.bz2
dotfiles-95bc93e47fcd6d9f807efaad725016bb624cd6e9.zip
add stalonetray big icon fix
Diffstat (limited to 'ratpoison/panel')
-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 &