From cd1fd22914e0c098d099698d62f14c10fcde909e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Tue, 16 Feb 2021 15:46:20 +0100 Subject: [PATCH] Improve the sway script --- bin/sway | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sway b/bin/sway index a3595eb..ede4dfe 100755 --- a/bin/sway +++ b/bin/sway @@ -9,6 +9,6 @@ if [ -f "$COMPOSE_KEY_FILE" ]; then COMPOSE_KEY=$(cat "$COMPOSE_KEY_FILE") export XKB_DEFAULT_OPTIONS="compose:$COMPOSE_KEY" fi -[ -f ~/.xdg_set_env.sh ] && . ~/.xdg_set_env.sh +[ -f "$HOME/.xdg_set_env.sh" ] && . "$HOME/.xdg_set_env.sh" -/usr/bin/sway $* +/usr/bin/sway "$@"