summaryrefslogtreecommitdiff
path: root/desktop/awesome/xinitrc.awesome
diff options
context:
space:
mode:
authorHeiko Rosemann <heiko.rosemann@web.de>2013-10-29 12:10:33 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-10-29 20:12:28 -0500
commit018cabb1adbc84cb3add32b6fc298ab2bd03c2ae (patch)
tree8f8bcb29ea5c6e9fd20419d7c885a0889d93af25 /desktop/awesome/xinitrc.awesome
parentb6dcaee8a97bc4318b83a8661d3c8890e56ee75e (diff)
downloadslackbuilds-018cabb1adbc84cb3add32b6fc298ab2bd03c2ae.tar.gz
desktop/awesome: Added (tabbing window manager).
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/awesome/xinitrc.awesome')
-rw-r--r--desktop/awesome/xinitrc.awesome20
1 files changed, 20 insertions, 0 deletions
diff --git a/desktop/awesome/xinitrc.awesome b/desktop/awesome/xinitrc.awesome
new file mode 100644
index 0000000000..1bc775e72e
--- /dev/null
+++ b/desktop/awesome/xinitrc.awesome
@@ -0,0 +1,20 @@
+#!/bin/sh
+# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+[ -f $sysresources ] && xrdb -merge $sysresources
+[ -f $sysmodmap ] && xmodmap $sysmodmap
+[ -f $userresources ] && xrdb -merge $userresources
+[ -f $usermodmap ] && xmodmap $usermodmap
+
+# Start the window manager:
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
+ ck-launch-session dbus-launch --exit-with-session awesome
+else
+ awesome
+fi