Last active
January 29, 2024 08:08
-
-
Save alexng353/943663453997e285252666036be31355 to your computer and use it in GitHub Desktop.
scuffed dotfiles
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
[font] | |
# size = 12 | |
normal = { family = "Monaspace Neon", style = "Regular" } | |
italic = { family = "Monaspace Radon", style = "Italic" } | |
[shell] | |
program = "/bin/zsh" |
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
if [ "$SHELL" != "/usr/bin/zsh" ]; then | |
echo "Changing shell to zsh..." | |
sudo pacman -Syu zsh | |
chsh /usr/bin/zsh | |
echo "please re-run this script in zsh, now that it is installed." | |
fi | |
sudo pacman -Syu git base-devel curl go | |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh | |
echo "Installing yay..." | |
mkdir -p $HOME/.tmp | |
cd .tmp | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
makepkg -si | |
cd | |
sudo pacman -Syu unzip gcc tar spotifyd neovim ripgrep lazygit alacritty neofetch docker docker-compose docker-buildx | |
yay -S spotify-tui | |
mkdir -p $HOME/.config/systemd/user/ | |
curl -L https://gist.githubusercontent.com/alexng353/943663453997e285252666036be31355/raw/8f835157f999ce25773c8d75423f65e269435f8d/spotifyd.service > $HOME/.config/systemd/user/spotifyd.service | |
systemctl --user daemon-reload | |
systemctl --user enable spotifyd.service | |
systemctl --user start spotifyd.service | |
echo "Installing Neovim..." | |
mkdir -p $HOME/.config/nvim | |
git clone --depth 1 https://github.com/alexng353/init.lua $HOME/.config/nvim | |
echo "Installing Monaspace" | |
mkdir -p .tmp | |
cd .tmp | |
curl -L https://github.com/githubnext/monaspace/releases/download/v1.000/monaspace-v1.000.zip > monaspace-v1.000.zip | |
unzip monaspace-v1.000.zip | |
mkdir -p ~/.local/share/fonts/Monaspace | |
mv monaspace-v1.000/fonts/otf/*.otf ~/.local/share/fonts/Monaspace/ | |
fc-cache -v | |
cd | |
mkdir -p $HOME/.config/alacritty | |
curl -L https://gist.githubusercontent.com/alexng353/943663453997e285252666036be31355/raw/9282f73a81980c3bbdd756bac2ac26b92013d9b3/alacritty.toml > $HOME/alacritty/alacritty.toml | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash | |
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
echo "alias ls='ls --color=auto'" >> ~/.zshrc | |
echo "alias grep='grep --color=auto'" >> ~/.zshrc | |
echo "export GPG_TTY=$(tty)" >> ~/.zshrc |
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
[Unit] | |
Description=A spotify playing daemon | |
Documentation=https://github.com/Spotifyd/spotifyd | |
Wants=sound.target | |
After=sound.target | |
Wants=network-online.target | |
After=network-online.target | |
[Service] | |
ExecStart=/usr/bin/spotifyd --no-daemon | |
Restart=always | |
RestartSec=12 | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment