chores
- 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:
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user