mirror of
https://github.com/klaxalk/i3-layout-manager.git
synced 2024-11-24 23:53:10 +01:00
fixed local layout file path
This commit is contained in:
parent
d09a960ad8
commit
42630ea793
@ -101,7 +101,7 @@ fi
|
|||||||
|
|
||||||
# if the layout name is a full path, use it, otherwise fabricate the full path
|
# if the layout name is a full path, use it, otherwise fabricate the full path
|
||||||
if [[ $LAYOUT_NAME == *".json" ]]; then
|
if [[ $LAYOUT_NAME == *".json" ]]; then
|
||||||
LAYOUT_FILE="$LAYOUT_NAME"
|
LAYOUT_FILE=`realpath "$LAYOUT_NAME"`
|
||||||
else
|
else
|
||||||
LAYOUT_FILE=$LAYOUT_PATH/layout-"$LAYOUT_NAME".json
|
LAYOUT_FILE=$LAYOUT_PATH/layout-"$LAYOUT_NAME".json
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user