git-svn-id: svn://svn.opensde.net/desktop/quoll/trunk@51 219270a8-6335-0410-8c83-dfab25b4dc40master
@ -0,0 +1,2 @@ |
|||||
|
#Priority: 1 |
||||
|
conky -a top_right & |
@ -0,0 +1,3 @@ |
|||||
|
if [ ! -f $HOME/.config/openbox/menu.xml ];then |
||||
|
mmaker openbox |
||||
|
fi |
@ -0,0 +1,33 @@ |
|||||
|
#Priority: 0 |
||||
|
# This shell script is run before Openbox launches. |
||||
|
# Environment variables set here are passed to the Openbox session. |
||||
|
|
||||
|
# Set a background color |
||||
|
BG="" |
||||
|
if which hsetroot >/dev/null; then |
||||
|
BG=hsetroot |
||||
|
else |
||||
|
if which esetroot >/dev/null; then |
||||
|
BG=esetroot |
||||
|
else |
||||
|
if which xsetroot >/dev/null; then |
||||
|
BG=xsetroot |
||||
|
fi |
||||
|
fi |
||||
|
fi |
||||
|
test -z $BG || $BG -solid "#dee3d6" |
||||
|
|
||||
|
# D-bus |
||||
|
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then |
||||
|
eval `dbus-launch --sh-syntax --exit-with-session` |
||||
|
fi |
||||
|
|
||||
|
# Make GTK apps look and behave how they were set up in the gnome config tools |
||||
|
if which gnome-settings-daemon >/dev/null; then |
||||
|
gnome-settings-daemon & |
||||
|
fi |
||||
|
|
||||
|
# Preload stuff for KDE apps |
||||
|
if which start_kdeinit >/dev/null; then |
||||
|
LD_BIND_NOW=true start_kdeinit --new-startup +kcminit_startup & |
||||
|
fi |
@ -0,0 +1,33 @@ |
|||||
|
#Priority: 1 |
||||
|
if [ -f $HOME/.wbar ];then |
||||
|
return 0 |
||||
|
fi |
||||
|
cat <<-EOT > $HOME/.wbar |
||||
|
i: /usr/share/wbar/wbar.icons/osxbarback.png |
||||
|
t: /usr/share/wbar/wbar.icons/VeraBd/9 |
||||
|
c: |
||||
|
|
||||
|
EOT |
||||
|
|
||||
|
for x in $(find /usr/share/applications/*) |
||||
|
do |
||||
|
name=$(grep "^ *Name=" $x |sed "s,^ *Name=,,g"|head -n 1) |
||||
|
icon=$(grep "^ *Icon=" $x |sed "s,^ *Icon=,,g"|head -n 1) |
||||
|
command=$(grep "^ *Exec=" $x |sed "s,^ *Exec=,,g"|head -n 1) |
||||
|
if [ -z "$(echo $icon|grep /)" ];then |
||||
|
icon="/usr/share/pixmaps/$icon" |
||||
|
fi |
||||
|
if [ -z "$(echo $icon|grep \.)" ];then icon=$(find /usr/share/applications -name $icon.* -maxdepth 0|head -n 1) |
||||
|
fi |
||||
|
if [ ! -f "$icon" ];then |
||||
|
continue |
||||
|
fi |
||||
|
cat <<-EOT >> $HOME/.wbar |
||||
|
i: $icon |
||||
|
c: $command |
||||
|
t: $name |
||||
|
|
||||
|
EOT |
||||
|
|
||||
|
done |
||||
|
wbar & |