don't make global

This commit is contained in:
speediegq 2022-10-28 20:26:57 +02:00
parent 5842ec965b
commit 2033b819a5

View file

@ -11,11 +11,11 @@ if [ "$2" != "" ]; then
fi
HAVE_GRID="true"
if [ -e "$HOME/.config/speedwm/global/config" ]; then
. $HOME/.config/speedwm/global/config
if [ -e "$HOME/.config/speedwm/globalrc" ]; then
. $HOME/.config/speedwm/globalrc
else
mkdir -p $HOME/.config/speedwm/global
printf "HAVE_GRID=$HAVE_GRID # Whether or not to use the Grid argument. If you do not have the dmenu grid patch, set this to false. Doing so will disable grid." > $HOME/.config/speedwm/global/config
mkdir -p $HOME/.config/speedwm
printf "HAVE_GRID=$HAVE_GRID # Whether or not to use the Grid argument. If you do not have the dmenu grid patch, set this to false. Doing so will disable grid." > $HOME/.config/speedwm/globalrc
fi
if [ "$HAVE_GRID" = "true" ]; then