move configuration file to /etc/surf-display

This commit is contained in:
Solene Rapenne 2022-10-11 13:37:51 +02:00
parent fc2642594e
commit 09798d638d
1 changed files with 2 additions and 2 deletions

View File

@ -73,8 +73,8 @@ if type -p xrandr 1>/dev/null; then
currentOutput=`echo "$(xrandr)" | grep -w 'connected' | sed -r -e 's/connected.*//' | head -n 1`
fi
if [ -r /etc/default/${BROWSER}-display ] && [ ! -d /etc/default/${BROWSER}-display ]; then
. /etc/default/${BROWSER}-display
if [ -r /etc/${BROWSER}-display ] && [ ! -d /etc/${BROWSER}-display ]; then
. /etc/${BROWSER}-display
fi
if [ -r $HOME/.${BROWSER}-display/config ] && [ ! -d $HOME/.${BROWSER}-display/config ]; then