Created
June 11, 2021 04:52
-
-
Save aita/6bf511fa2801ec2ccbc3567d4ec7f9ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Install packages" | |
yay -Syu \ | |
--needed \ | |
--norebuild \ | |
--noredownload \ | |
--answerclean None \ | |
--answerdiff None \ | |
--answeredit None \ | |
docker \ | |
docker-compose \ | |
dropbox \ | |
fish \ | |
fisher \ | |
gitkraken \ | |
gnome-tweaks \ | |
google-chrome \ | |
joplin-desktop \ | |
kubectl \ | |
kubectx \ | |
minikube \ | |
noto-fonts \ | |
noto-fonts-cjk \ | |
noto-fonts-emoji \ | |
noto-fonts-extra \ | |
slack-desktop \ | |
ulauncher \ | |
visual-studio-code-bin | |
# fcitx-mozc-ut-unified は時期によってインストールが失敗するのでコメントアウト | |
# yay -Syu \ | |
# --needed \ | |
# --norebuild \ | |
# --noredownload \ | |
# --answerclean None \ | |
# --answerdiff None \ | |
# --answeredit None \ | |
# fcitx-configtool \ | |
# fcitx-mozc-ut-unified | |
# | |
# echo "Setup ~/.pam_environment" | |
# cat <<EOF > ~/.pam_environment | |
# GTK_IM_MODULE DEFAULT=fcitx | |
# QT_IM_MODULE DEFAULT=fcitx | |
# XMODIFIERS DEFAULT=@im=fcitx | |
# EOF | |
echo "Map the Caps Lock key to Ctrl" | |
cat <<EOF > ~/.Xmodmap | |
clear lock | |
clear control | |
keycode 66 = Control_L | |
add control = Control_L Control_R | |
EOF | |
echo "Setup git config" | |
git config --global user.name "Ryo Aita" | |
git config --global user.email "792803+aita@users.noreply.github.com" | |
# echo "Mask systemd-backlight@backlight:acpi_video0.service" | |
# sudo systemctl mask systemd-backlight@backlight\:acpi_video0.service | |
# echo "Enable LightDM logind-check-graphical" | |
# sudo sed -i -E 's/(# +)?logind-check-graphical=(false|true)/logind-check-graphical=true/g' /etc/lightdm/lightdm.conf | |
echo "Python" | |
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment