Skip to content

Commit

Permalink
Move more stuff to xdg dirs and manually load dconf file to hopefully…
Browse files Browse the repository at this point in the history
… fix defaults
  • Loading branch information
EpicOfficer committed May 16, 2024
1 parent d7ac9f9 commit 853c2b8
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 1 deletion.
File renamed without changes.
4 changes: 3 additions & 1 deletion config/files/usr/libexec/quantix-user-setup
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ elif [ "$(whoami)" = "sddm" ]; then
fi

# Script version
readonly QNTX_VER=6
readonly QNTX_VER=7
readonly QNTX_VER_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/quantix"
readonly QNTX_VER_FILE="${QNTX_VER_DIR}/qntx_version"
QNTX_VER_RAN=""
Expand Down Expand Up @@ -38,5 +38,7 @@ fi
echo 'Enabling System76-Scheduler KWin script'
kwriteconfig5 --file kwinrc --group Plugins --key kwin-system76-scheduler-integrationEnabled true

dconf load / < /etc/dconf/db/local.d/13-quantix

# Write the version
echo "${QNTX_VER}" > "${QNTX_VER_FILE}" || { echo "Error writing to ${QNTX_VER_FILE}." >&2; exit 1; }

0 comments on commit 853c2b8

Please sign in to comment.