1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Add gsettings preferences.

Unfortunately, gsettings uses an impractical binary format, so instead
we set it via script.
This commit is contained in:
Bert Peters
2016-06-07 15:42:22 +02:00
parent e07e4bb401
commit a33d7e75ea
2 changed files with 15 additions and 0 deletions

10
gsettings.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Caps-lock as compose key
gsettings set org.gnome.desktop.input-sources xkb-options "['compose:caps']"
# Focus follows mouse, sloppily
gsettings set org.gnome.desktop.wm.preferences focus-mode "'sloppy'"
# No audible bell
gsettings set org.gnome.desktop.wm.preferences audible-bell false

View File

@@ -50,4 +50,9 @@ installIfAvailable tmux
echo "Installing remaining packages…" echo "Installing remaining packages…"
stow -t $HOME pacman git stow -t $HOME pacman git
if commandAvailable gsettings; then
echo "Installing gsettings preferences…"
./gsettings.sh
fi
echo "Installation finished." echo "Installation finished."