diff --git a/dot_doom.d/config.el b/dot_doom.d/config.el index cf7f85b..2e9fcad 100644 --- a/dot_doom.d/config.el +++ b/dot_doom.d/config.el @@ -104,3 +104,6 @@ (setq lsp-rust-server 'rust-analyzer lsp-rust-analyzer-server-display-inlay-hints t lsp-metals-show-inferred-type t)) + +(setq elfeed-feeds + '("https://this-week-in-rust.org/rss.xml" lang rust)) diff --git a/run_once_prepare_unix.sh.tmpl b/run_once_prepare_unix.sh.tmpl index 652e1b0..1bf9320 100644 --- a/run_once_prepare_unix.sh.tmpl +++ b/run_once_prepare_unix.sh.tmpl @@ -1,47 +1,16 @@ {{ if ne .chezmoi.os "windows" }} #!/bin/bash + # {{ if eq .chezmoi.os "linux" -}} + # {{ if eq .chezmoi.osRelease.id "ubuntu" -}} + # sudo apt install ripgrep + # {{ end -}} + # {{ end -}} + # Exemple: https://github.com/RichiCoder1/dotfiles/blob/master/executable_install-tools.sh.tmpl -# JUST TO KEEP IN HEAD -# {{ if eq .chezmoi.os "linux" -}} -# {{ if eq .chezmoi.osRelease.id "ubuntu" -}} -# sudo apt install ripgrep -# {{ end -}} -# {{ end -}} -# Exemple: https://github.com/RichiCoder1/dotfiles/blob/master/executable_install-tools.sh.tmpl - -# INSTALL HOMEBREW -bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - - -{{ if eq .chezmoi.os "linux" -}} - -echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/$USER/.bash_profile -eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" -# {{ else if eq .chezmoi.os "darwin" -}} + {{ if eq .chezmoi.os "linux" -}} + {{ if eq .chezmoi.osRelease.idLike "arch" }} + sudo pacman -S picom i3-gaps polybar dunst + {{ end }} + # {{ else if eq .chezmoi.os "darwin" -}} + {{ end -}} {{ end -}} - - -# INSTALL COMMON PACKAGES WITH HOMEBREW -brew install gcc make cmake gitui neovim tmux lazygit ripgrep fd - -# INSTALL RVM FOR RUBY -curl -sSL https://get.rvm.io | bash -s stable --ruby - -# INSTALL NVM FOR NODE -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash - -# INSTALL FVM FOR FLUTTER -brew tap leoafarias/fvm -brew install fvm - -# INSTALL RUSTUP WITH STABLE RUST VERSION -curl https://sh.rustup.rs -sSf | sh -s -- -y -brew install rust-analyzer - -{{ if eq .chezmoi.os "linux" -}} - -source ~/.bash_profile -# {{ else if eq .chezmoi.os "darwin" -}} -{{ end -}} - -{{ end -}} \ No newline at end of file