- 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
}

View File

@ -48,7 +48,7 @@ ensure_keyboard_shortcuts() {
# Start swhkd
printfe "%s\n" "green" " - starting swhkd..."
printfe "%s\n" "yellow" " Note: this will likely show a password prompt, please enter your password"
dotf hotkey-daemon &> /dev/null
screen -dmS swhkd zsh -c "$HOME/dotfiles/bin/actions/hotkey-daemon.sh"
# Check if this is gnome DESKTOP_SESSION is gnome, if not we can stop here
# The next part is just for setting up custom shortcuts in GNOME