diff options
Diffstat (limited to 'bin/startsway')
-rwxr-xr-x | bin/startsway | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/startsway b/bin/startsway index 2f3c5ee..0809fb8 100755 --- a/bin/startsway +++ b/bin/startsway @@ -17,7 +17,7 @@ export RUST_BACKTRACE=full mkdir -p "$HOME/.log" config="$HOME/.config/sway/config" -if [ -f "$HOME/.config/sway/$(hostname)" ]; then - config="$HOME/.config/sway/$(hostname)" +if [ -f "$HOME/.config/sway/${HOSTNAME}" ]; then + config="$HOME/.config/sway/${HOSTNAME}" fi /usr/bin/sway -c "$config" > "$HOME/.log/sway.log" 2>&1 |