This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
sway
Watch
1
Star
0
Fork
You've already forked sway
0
mirror of
https://github.com/swaywm/sway.git
synced
2026-04-28 06:46:26 -04:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
4f48f13397
sway
/
swayrun
/
meson.build
7 lines
88 B
Meson
Raw
Normal View
History
Unescape
Escape
Add swayrun command to run sway using a login shell When running Sway from a display manager, a user's login shell is not used. Because of this, profile scripts are not run and the environment may not be configured. As suggested in #3109, this can be solved by a wrapper that runs sway via the user's configured shell. This is similar to the approach taken by GNOME to source the standard set of profile scripts. This could be accomplished with a shell script, but a dedicated binary avoids dependencies on specific shells. The sway.desktop wayland session file is also updated to call the swayrun wrapper.
2019-02-09 23:32:29 -05:00
executable
(
'swayrun'
,
'main.c'
,
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.
2019-02-11 22:40:41 -05:00
install
:
true
,
install_dir
:
libdir
+
'/sway'
Add swayrun command to run sway using a login shell When running Sway from a display manager, a user's login shell is not used. Because of this, profile scripts are not run and the environment may not be configured. As suggested in #3109, this can be solved by a wrapper that runs sway via the user's configured shell. This is similar to the approach taken by GNOME to source the standard set of profile scripts. This could be accomplished with a shell script, but a dedicated binary avoids dependencies on specific shells. The sway.desktop wayland session file is also updated to call the swayrun wrapper.
2019-02-09 23:32:29 -05:00
)
Reference in a new issue
Copy permalink