]> code.delx.au - dotfiles/blobdiff - .xsession
screen prompt change
[dotfiles] / .xsession
index 0c99453bcd0b8e942a6e7b131dc81a8a0c589617..bbe8c7d5744123dd1d07f3b185e543309b4b3040 100755 (executable)
--- a/.xsession
+++ b/.xsession
@@ -1,47 +1,9 @@
-#!/gnu/usr/bin/bash
+#! bash
 
-cd
+xrdb -merge ~/.Xresources
 
-if [ "$(uname)" = "SunOS" ]; then
-       # Congo ninja power!
-       touch ~/.RSHTOCONGO
-       rsh "$(/local/mc/bin/pick)" "DISPLAY=$DISPLAY /usr/bin/env bash --login ~/.xsession"
-       if [ -e ~/.RSHTOCONGO ]; then
-               # If we failed to get to a congo, then fallback to an xterm
-               xterm
-               rm -f ~/.RSHTOCONGO
-       fi
-       exit
-fi
-
-xscreensaver &
-~suits/pub/win32/mapaltxwin32 -s
-
-# We're on a congo!
-rm -f ~/.RSHTOCONGO
-
-# Merge resources
-if [ -r ~/.Xresources ]; then
-       xrdb -merge ~/.Xresources
-fi
-
-# Set the locale
-export LC_CTYPE=en_AU.UTF-8
-
-# If there's no XRENDER disable transparency
-xdpyinfo | grep -q "RENDER"
-if [ \! $? -eq 0 ]; then
-       xrdb -merge <(echo URxvt.inheritPixmap: False)
-fi
-
-# Set a desktop background (use the -a option after -e to scale to 
-# the max preserving aspect ratio)
-# It would be better to put these in ~/GNUStep/Library/WindowMaker/autostart
-# which gets run _after_ WindowMaker
-# wmsetbg -b black -S -e -d -u /usr/share/backgrounds/images/default.png
-# ~suits/pub/bin/randombg2 --permanent --quiet /usr/share/backgrounds/images
-
-# If an exec fails, try the next one
-shopt -s execfail
-exec ~suits/pub/bin/wmaker --no-dock || exec icewm || exec rxvt || exec xterm
+# https://bugzilla.mozilla.org/show_bug.cgi?id=1276449
+export MOZ_USE_XINPUT2=1
 
+# Scrollbars should be always visible
+export GTK_OVERLAY_SCROLLING=0