Move swayrun outside of PATH

Because swayrun is not intended to be called directly by users,
it is moved to /usr/lib. The sway.desktop wayland session file is
also updated to reflect this new location.
This commit is contained in:
Corey Hinshaw 2019-02-11 22:40:41 -05:00
parent eb22dee79c
commit 9b10a16775
4 changed files with 10 additions and 35 deletions

View file

@ -1,5 +1,6 @@
executable(
'swayrun',
'main.c',
install: true
install: true,
install_dir: libdir + '/sway'
)

View file

@ -1,29 +0,0 @@
swayrun(1)
# NAME
swayrun - Run Sway from a login shell
# SYNOPSIS
_swayrun_ [options...] [command]
# DESCRIPTION
Attempts to run *sway*(1) via the user's login shell. This allows environment
configuration and other login actions, for example when run via a display manager.
All arguments to swayrun will be passed through unaltered to sway.
If a login shell cannot be determined, sway will be executed normally.
# ENVIRONMENT
The following environment variables have an effect on swayrun:
_SHELL_
Holds the path to the login shell.
# SEE
*sway*(1)