mirror of
https://codeberg.org/gwh/slackbuilds.git
synced 2024-11-16 19:51:19 +01:00
simplify xinitrcby dumping startup.sh
This commit is contained in:
parent
64352dff12
commit
08cd77ae3a
1 changed files with 3 additions and 5 deletions
8
xap/awesome/xinitrc.awesome
Normal file → Executable file
8
xap/awesome/xinitrc.awesome
Normal file → Executable file
|
@ -16,11 +16,9 @@ if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
|||
eval $(dbus-launch --sh-syntax --exit-with-session)
|
||||
fi
|
||||
|
||||
# Start the window manager:
|
||||
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
|
||||
CK_LAUNCH_SESSION= ck-launch-session
|
||||
exec ck-launch-session /usr/bin/awesome
|
||||
else
|
||||
CK_LAUNCH_SESSION=
|
||||
exec /usr/bin/awesome
|
||||
fi
|
||||
[ -x $HOME/.config/awesome/startup.sh ] \
|
||||
&& exec $CK_LAUNCH_SESSION $HOME/.config/awesome/startup.sh \
|
||||
|| exec $CK_LAUNCH_SESSION awesome
|
||||
|
|
Loading…
Reference in a new issue