summaryrefslogtreecommitdiff
path: root/desktop/i3/i3.SlackBuild
diff options
context:
space:
mode:
authorEugene Suter <easuter@gmail.com>2010-10-10 19:11:57 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-10-10 19:11:57 -0500
commitcb4c0c65e2a495829a705b01907f3c6c89a7f813 (patch)
treefac53e4ddec6b43b0618188664e2c24926b50e43 /desktop/i3/i3.SlackBuild
parent7e4d30c2d5d9ffda2b18761caca0042ff28350c9 (diff)
downloadslackbuilds-cb4c0c65e2a495829a705b01907f3c6c89a7f813.tar.gz
desktop/i3: Miscellaneous cleanups/enhancements
- show i3 in kdm - default to xterm Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/i3/i3.SlackBuild')
-rw-r--r--desktop/i3/i3.SlackBuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild
index 5e34c3c23a..9cfd92c3b3 100644
--- a/desktop/i3/i3.SlackBuild
+++ b/desktop/i3/i3.SlackBuild
@@ -3,10 +3,11 @@
# Slackware build script for i3
# Written by Eugene Wissner <belka.ew@gmail.com>
+# Updated by Eugene Suter <easuter@gmail.com>
PRGNAM=i3
VERSION=3.e_bf1
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRC_VERSION=$(printf $VERSION | tr _ -)
@@ -65,6 +66,13 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
# Don't clobber the default config
mv $PKG/etc/i3/config $PKG/etc/i3/config.new
+# Make xterm default terminal
+sed -i 's/urxvt/xterm/' $PKG/etc/i3/config.new
+
+# KDM menu entry
+mkdir -p $PKG/usr/share/apps/kdm/sessions
+ln -s $PKG/usr/share/xsessions/i3.desktop $PKG/usr/share/apps/kdm/sessions/
+
# Install an xinitrc script
mkdir -p $PKG/etc/X11/xinit
cat $CWD/xinitrc.i3 > $PKG/etc/X11/xinit/xinitrc.i3