diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-04-23 16:56:58 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-04-27 12:18:14 -0500 |
commit | baba4a93b6738bdd0d69568b3dbf7fab08e6371f (patch) | |
tree | 46bf2be26140e3ca43b9b7d9540f35861b41cac1 /desktop/qtile/xinitrc.qtile | |
parent | 5ed6e7e52a9894fa554104ced1ae51ec1366ee08 (diff) | |
download | slackbuilds-baba4a93b6738bdd0d69568b3dbf7fab08e6371f.tar.gz |
desktop/qtile: Updated for version 0.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/qtile/xinitrc.qtile')
-rw-r--r-- | desktop/qtile/xinitrc.qtile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/desktop/qtile/xinitrc.qtile b/desktop/qtile/xinitrc.qtile new file mode 100644 index 0000000000..a2c7cde278 --- /dev/null +++ b/desktop/qtile/xinitrc.qtile @@ -0,0 +1,30 @@ +#!/bin/sh + +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 qtile +if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then + exec ck-launch-session qtile +else + exec qtile +fi |