scripts: add install.sh
This commit is contained in:
parent
5d842ac1b4
commit
64095cb519
1 changed files with 66 additions and 0 deletions
66
install.sh
Normal file
66
install.sh
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
_ssh() {
|
||||||
|
ssh-keygen -t ed25519 -q -N ""
|
||||||
|
}
|
||||||
|
|
||||||
|
_gsettings() {
|
||||||
|
gsettings set org.gnome.desktop.input-sources show-all-sources true
|
||||||
|
gsettings set org.gnome.desktop.peripherals.mouse accel-profile flat
|
||||||
|
gsettings set org.gnome.desktop.interface clock-format 24h
|
||||||
|
gsettings set org.gnome.desktop.interface clock-show-seconds true
|
||||||
|
gsettings set org.gnome.desktop.interface font-name "Fira Sans Medium 11"
|
||||||
|
gsettings set org.gnome.desktop.interface document-font-name "Fira Sans Medium 11"
|
||||||
|
gsettings set org.gnome.desktop.interface monospace-font-name "Fira Code Medium 11"
|
||||||
|
gsettings set org.gnome.desktop.interface enable-hot-corners false
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-enable-primary-paste false
|
||||||
|
gsettings set org.gnome.desktop.wm.preferences resize-with-right-button true
|
||||||
|
gsettings set org.gnome.shell.keybindings show-screenshot-ui
|
||||||
|
gsettings set org.gnome.mutter experimental-features "['variable-refresh-rate']"
|
||||||
|
# TODO gtk-theme
|
||||||
|
# TODO icon-theme
|
||||||
|
# TODO cursor-theme
|
||||||
|
for i in $(seq 1 9)
|
||||||
|
do
|
||||||
|
gsettings set org.gnome.shell.keybindings switch-to-application-$i "['']"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
_theme() {
|
||||||
|
git clone https://github.com/vinceliuci/Orchis-theme ~/git/Orchis-theme
|
||||||
|
git clone https://github.com/vinceliuci/Qogir-icon-theme ~/git/Qogir-icon-theme
|
||||||
|
|
||||||
|
xbps-install -Su \
|
||||||
|
gtk-engine-murrine \
|
||||||
|
sassc
|
||||||
|
|
||||||
|
~/git/Orchis-theme/install.sh -t green -c dark -s compact -i void -l -f --round 2px
|
||||||
|
~/git/Qogir-icon-theme/install.sh -t default -c all
|
||||||
|
|
||||||
|
gsettings set org.gnome.desktop.interface gtk-theme 'Orchis-Green-Dark-Compact'
|
||||||
|
gsettings set org.gnome.desktop.interface icon-theme 'Qogir'
|
||||||
|
gsettings set org.gnome.desktop.interface cursor-theme 'Qogir'
|
||||||
|
|
||||||
|
# Fix GTK3 breaking icon/cursor themes on wayland
|
||||||
|
# Void doesn't ship /usr/share/icons/default regardless
|
||||||
|
sudo ln -s ~/.local/share/icons/Qogir /usr/share/icons/default
|
||||||
|
}
|
||||||
|
|
||||||
|
_steam() {
|
||||||
|
xbps-install -Su \
|
||||||
|
libgcc-32bit \
|
||||||
|
libstdc++-32bit \
|
||||||
|
libdrm-32bit \
|
||||||
|
libglvnd-32bit \
|
||||||
|
nvidia-libs-32bit \
|
||||||
|
mono \
|
||||||
|
steam
|
||||||
|
}
|
||||||
|
|
||||||
|
_git() {
|
||||||
|
[ -d ~/.config/git ] || return
|
||||||
|
echo "$(git config --get user.email) namespaces=\"git\" $(cat ~/.ssh/id_ed25519.pub)" >> ~/.config/git/allowed_signers
|
||||||
|
}
|
||||||
|
|
||||||
|
_ssh
|
||||||
|
_git
|
||||||
|
_gsettings
|
||||||
|
_steam
|
Loading…
Add table
Reference in a new issue