summaryrefslogtreecommitdiff
path: root/desktop/i3/i3.SlackBuild
diff options
context:
space:
mode:
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