- removes alacritty
- updates gitconfig to include lfs shit
- updates gitconfig to not rebase ever
- updates keyboard shortcuts to use gnome-terminal
- adds import/export of gnome-terminal settings with dconf
- fixes export for gnome extensions to not run when not running gnome
This commit is contained in:
2024-08-28 14:10:30 +02:00
parent b8e43c2548
commit 699793ee2d
13 changed files with 78 additions and 402 deletions

View File

@@ -51,6 +51,12 @@ ensure_gnome_extensions_installed() {
# Export a JSON file with all installed GNOME extensions IDs
export_gnome_extensions() {
# Only export if we have the gnome-extensions command
if ! command -v gnome-extensions &> /dev/null; then
printfe "%s\n" "red" " - gnome-extensions command not found, likely not running GNOME."
return
fi
extensions=$(gnome-extensions list --enabled --user)
echo $extensions | jq -R -s -c 'split("\n")[:-1]' > ~/dotfiles/gnome/extensions.json
}