mirror of https://github.com/fairyglade/ly.git
Unset DISPLAY variable for wayland
See #167 This is the fix that I currently use to get ly to work with sway. I am not sure if this is the proper way to implement it as I have only tested it on bash and zsh. Also to note is that it does not fix the problem of XDG_SESSION_TYPE being set to `tty`
This commit is contained in:
parent
aaa34e09da
commit
4762c1dafa
|
|
@ -6,6 +6,7 @@
|
||||||
# Copyright (C) 2001-2005 Oswald Buddenhagen <ossi@kde.org>
|
# Copyright (C) 2001-2005 Oswald Buddenhagen <ossi@kde.org>
|
||||||
|
|
||||||
# Note that the respective logout scripts are not sourced.
|
# Note that the respective logout scripts are not sourced.
|
||||||
|
unset DISPLAY
|
||||||
case $SHELL in
|
case $SHELL in
|
||||||
*/bash)
|
*/bash)
|
||||||
[ -z "$BASH" ] && exec $SHELL $0 "$@"
|
[ -z "$BASH" ] && exec $SHELL $0 "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue