Browse Source

Add i3 stuff

rocket-config
mid-kid 8 years ago
parent
commit
388569ae5b
  1. 33
      etc/X11/xinit/xinitrc.i3
  2. 1
      etc/astronaut.conf
  3. 4
      rocket-config.SlackBuild

33
etc/X11/xinit/xinitrc.i3

@ -0,0 +1,33 @@
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
# Start the window manager:
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session /usr/bin/i3
else
exec /usr/bin/i3
fi

1
etc/astronaut.conf

@ -12,6 +12,7 @@ dir_infodir='info'
package_options() {
case "$1" in
astronaut) echo 'pkgtools,helpers' ;;
i3) echo 'window-icons' ;;
esac
}

4
rocket-config.SlackBuild

@ -2,7 +2,7 @@
PKGNAM=rocket-config
VERSION=14.2
BUILD=${BUILD:-5rocket}
BUILD=${BUILD:-6rocket}
ARCH=noarch
CWD=$(pwd)
@ -30,7 +30,7 @@ find $CWD/etc -type f ! -name '*.orig' -printf '%P\n' | while read config; do
done
# Set some special permissions
chmod 755 $PKG/etc/rc.d/rc.*
chmod 755 $PKG/etc/rc.d/rc.* $PKG/etc/X11/xinit/*
cd $PKG
/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz

Loading…
Cancel
Save