projects
/
dotfiles
/
openbox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensures tmux doesn't start twice
[dotfiles/openbox.git]
/
autostart.sh
diff --git
a/autostart.sh
b/autostart.sh
index
1efd682
..
8d7ef6a
100644
(file)
--- a/
autostart.sh
+++ b/
autostart.sh
@@
-11,13
+11,16
@@
export GPG_AGENT_INFO
xrdb ~/.Xresources &
xdg-user-dirs-update &
xrdb ~/.Xresources &
xdg-user-dirs-update &
-xscreensaver
-nosplash
&
-
gnome
-power-manager &
+xscreensaver &
+
xfce4
-power-manager &
volumeicon &
system-config-printer-applet &
thunar --daemon &
volumeicon &
system-config-printer-applet &
thunar --daemon &
-xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
-clipit &
+#xcompmgr -c -t-5 -l-5 -r4.2 -o.55 &
+xcompmgr -n -f -D5 &
+nm-applet &
+tint2 &
+conky &
if egrep -iq 'touchpad' /proc/bus/input/devices; then
synclient VertEdgeScroll=1 &
if egrep -iq 'touchpad' /proc/bus/input/devices; then
synclient VertEdgeScroll=1 &
@@
-31,12
+34,12
@@
chmod 600 $HOME/.Xdbus
env | grep DBUS_SESSION_BUS_ADDRESS > $HOME/.Xdbus
echo 'export DBUS_SESSION_BUS_ADDRESS' >> $HOME/.Xdbus
env | grep DBUS_SESSION_BUS_ADDRESS > $HOME/.Xdbus
echo 'export DBUS_SESSION_BUS_ADDRESS' >> $HOME/.Xdbus
-conky &
-tint2 &
-nm-applet &
+[ $(pgrep -c offlineimap) = 1 ] || tmux new-session -d -s offlineimap offlineimap &
# Launch default desktop applications
gajim &
#x-terminal-emulator -e mutt &
#x-www-browser &
# Launch default desktop applications
gajim &
#x-terminal-emulator -e mutt &
#x-www-browser &
-#liferea &
+
+# Font antialiasing and GTK+ look and feel in java applications
+export JAVA_OPTS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel'