diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2022-09-22 22:32:21 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-09-24 07:34:14 +0700 |
commit | 1805780f0a523190a2efb76c604c1505cd383951 (patch) | |
tree | e4d4b3019dd545fa4a4b7cd1a0929094baec4462 /desktop/qtile/qtile.SlackBuild | |
parent | 56a4199cf734d1cca4d116766f25a098e499a6bd (diff) |
desktop/qtile: Update for 0.22.1
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/qtile/qtile.SlackBuild')
-rw-r--r-- | desktop/qtile/qtile.SlackBuild | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/desktop/qtile/qtile.SlackBuild b/desktop/qtile/qtile.SlackBuild index a7d0c1da8e28..1914fa644e11 100644 --- a/desktop/qtile/qtile.SlackBuild +++ b/desktop/qtile/qtile.SlackBuild @@ -26,8 +26,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qtile -VERSION=${VERSION:-0.21.0} -BUILD=${BUILD:-3} +VERSION=${VERSION:-0.22.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -89,11 +89,15 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/etc/X11/xinit install -m 0755 $CWD/xinitrc.$PRGNAM $PKG/etc/X11/xinit/xinitrc.$PRGNAM -# Install desktop file +# Install Xsession file mkdir -p $PKG/usr/share/xsessions install -D -m644 resources/$PRGNAM.desktop $PKG/usr/share/xsessions/$PRGNAM.desktop -mkdir -p $PKG/usr/share/wayland-sessions -install -D -m644 resources/$PRGNAM-wayland.desktop $PKG/usr/share/wayland-sessions/$PRGNAM-wayland.desktop + +# If pywlroots is installed, install Wayland session file +if $(python3 -c 'import pkgutil; exit(not pkgutil.find_loader("wlroots"))'); then + mkdir -p $PKG/usr/share/wayland-sessions + install -D -m644 resources/$PRGNAM-wayland.desktop $PKG/usr/share/wayland-sessions/$PRGNAM-wayland.desktop +fi # example for default config file maybe installed ~/$USER/.config/qtile CONFIG="libqtile/resources/default_config.py" |