summaryrefslogtreecommitdiff
path: root/.config/openbox/autostart.sh
diff options
context:
space:
mode:
authorben <benjaminfranzke@gmail.com>2010-01-04 20:58:50 +0100
committerben <benjaminfranzke@gmail.com>2010-01-04 20:58:50 +0100
commit280e8ecf8c0c73c37c7b31b3533733532f5d2211 (patch)
tree66f81c26f65423031cd3b04b2d77284038094cde /.config/openbox/autostart.sh
parentb742096b9d111b7be23fb2bd4726bf71c8972c40 (diff)
downloaddotfiles-280e8ecf8c0c73c37c7b31b3533733532f5d2211.tar.gz
dotfiles-280e8ecf8c0c73c37c7b31b3533733532f5d2211.tar.bz2
dotfiles-280e8ecf8c0c73c37c7b31b3533733532f5d2211.zip
add openbox configuration
Diffstat (limited to '.config/openbox/autostart.sh')
-rw-r--r--.config/openbox/autostart.sh43
1 files changed, 43 insertions, 0 deletions
diff --git a/.config/openbox/autostart.sh b/.config/openbox/autostart.sh
new file mode 100644
index 0000000..7496c4c
--- /dev/null
+++ b/.config/openbox/autostart.sh
@@ -0,0 +1,43 @@
+# This shell script is run before Openbox launches.
+# Environment variables set here are passed to the Openbox session.
+
+# D-bus
+if which dbus-launch >/dev/null && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
+ eval `dbus-launch --sh-syntax --exit-with-session`
+fi
+
+#xrandr --output VGA-0 --mode 1280x1024 --rate 60
+# start compositing - shadows and fading
+#xcompmgr -cCfF -t-5 -l-5 -r4.2 -o0.55 -D6 & >> /dev/null 2>&1
+
+# set background
+#eval $(cat ~/.fehbg) &
+nitrogen --restore &
+
+#Force OpenOffice.org to use GTK theme
+export OOO_FORCE_DESKTOP=gnome
+
+~/bin/swIcon.py &
+
+#volwheel &
+#trayer --widthtype request --height 24 --align right --margin 0 --padding 0 \
+# --transparent true --alpha 256 --tint 0xffffff --SetDockType true &
+stalonetray &
+~/voltray.py &
+#volwheel &
+
+# Run XDG autostart things. By default don't run anything desktop-specific
+# See xdg-autostart --help more info
+DESKTOP_ENV=""
+if which /usr/lib64/openbox/xdg-autostart >/dev/null; then
+ /usr/lib64/openbox/xdg-autostart $DESKTOP_ENV &
+fi
+
+# start tray
+#trayer --widthtype request --height 22 \
+# --align right --margin 0 --padding 3 \
+# --transparent true --alpha 128 --tint 0x050505 &
+# start panel
+tint2 &
+urxvtd -q -o -f
+synergys