summaryrefslogtreecommitdiff
path: root/desktop/i3
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/i3')
-rw-r--r--desktop/i3/i3.SlackBuild2
-rw-r--r--desktop/i3/xinitrc.i32
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/i3/i3.SlackBuild b/desktop/i3/i3.SlackBuild
index 9cfd92c3b3..47287220f3 100644
--- a/desktop/i3/i3.SlackBuild
+++ b/desktop/i3/i3.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=i3
VERSION=3.e_bf1
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
SRC_VERSION=$(printf $VERSION | tr _ -)
diff --git a/desktop/i3/xinitrc.i3 b/desktop/i3/xinitrc.i3
index 47b3a8c767..54f5b5c620 100644
--- a/desktop/i3/xinitrc.i3
+++ b/desktop/i3/xinitrc.i3
@@ -12,7 +12,7 @@ sysmodmap=/etc/X11/xinit/.Xmodmap
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
# Start i3
-if [ -z $DESKTOP_SESSION ]; then
+if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session i3
else
exec i3