Merge branch 'master' of github.com:Phundrak/dotfiles

This commit is contained in:
Lucien Cartier-Tilet 2020-02-25 14:33:31 +01:00
commit 5de3563aec
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 42 additions and 18 deletions

View File

@ -18,7 +18,7 @@ echo $keyboardconf | sudo tee /etc/X11/xorg.conf.d/00-keyboard.conf
set mylocales "en_US.UTF-8 UTF-8" "fr_FR.UTF-8 UTF-8" "ja_JP.UTF-8 UTF-8" set mylocales "en_US.UTF-8 UTF-8" "fr_FR.UTF-8 UTF-8" "ja_JP.UTF-8 UTF-8"
printf "\n# Set our locale ##############################################################\n\n" printf "\n# Set locale ##################################################################\n\n"
for item in $mylocales for item in $mylocales
if test (grep -e "#$item" /etc/locale.gen) if test (grep -e "#$item" /etc/locale.gen)
sudo sed -i "/$item/s/^#//g" /etc/locale.gen sudo sed -i "/$item/s/^#//g" /etc/locale.gen
@ -72,18 +72,18 @@ bluez-utils bookworm boost bzip2 ccls chicken chromium clisp compton cppcheck \
cppreference cppreference-devhelp cpupower cronie cryptsetup device-mapper \ cppreference cppreference-devhelp cpupower cronie cryptsetup device-mapper \
diffutils discord-canary discount ditaa dmenu dmenu-lpass docker \ diffutils discord-canary discount ditaa dmenu dmenu-lpass docker \
docker-compose dockerfile-language-server-bin doxygen dunst dwarffortress \ docker-compose dockerfile-language-server-bin doxygen dunst dwarffortress \
emacs exfat-utils farbfeld feh ffmpegthumbnailer findutils firefox flake8 \ emacs emacs-org-mode exfat-utils farbfeld feh ffmpegthumbnailer findutils \
font-mathematica fontforge freeglut fzf gcc-libs gdb gimp glibc \ firefox flake8 font-mathematica fontforge freeglut fzf gcc-libs gdb gimp glibc \
gnome-disk-utility gnome-epub-thumbnailer gnu-free-fonts gnuplot go-tools \ gnome-disk-utility gnome-epub-thumbnailer gnu-free-fonts gnuplot go-tools \
golangci-lint-bin graphviz htop i3-gaps-rounded-git i3lock-blur i3status \ golangci-lint-bin graphviz htop i3-gaps-rounded-git i3lock-blur i3status \
igdm-bin inetutils j4-dmenu-desktop javascript-typescript-langserver \ igdm-bin inetutils j4-dmenu-desktop javascript-typescript-langserver \
js-beautify jfsutils jmtpfs lastpass-cli less linux-headers lldb logrotate \ js-beautify jfsutils jmtpfs lastpass-cli less linux-headers lldb logrotate \
lvm2 ly meson minted man-db man-pages mpc mpd mpd-rich-presence-discord-git \ lvm2 ly meson minted man-db man-pages mpc mpd mpd-rich-presence-discord-git \
mpv mupdf-tools nano ncdu ncmpcpp nemo-fileroller nemo-preview neofetch \ mpv mupdf-tools nano ncdu ncmpcpp nemo-fileroller nemo-preview neofetch netctl \
netctl networkmanager networkmanager-openvpn nm-connection-editor nnn \ networkmanager networkmanager-openvpn nm-connection-editor nnn nodejs-vmd \
nodejs-vmd nomacs nordvpn-bin noto-fonts-emoji npm ntfs-3g numlockx openssh \ nomacs nordvpn-bin noto-fonts-emoji npm ntfs-3g numlockx openssh otf-fandol \
otf-fandol otf-ipafont p7zip pacman-contrib pandoc-bin pavucontrol pciutils \ otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pciutils pcurses \
pcurses pdfpc polybar prettier pulseaudio-bluetooth python-autoflake \ pdfpc polybar powerline-fonts prettier pulseaudio-bluetooth python-autoflake \
python-envtpl-git python-epc python-importmagic python-language-server \ python-envtpl-git python-epc python-importmagic python-language-server \
python-nose python-pip python-ptvsd python-pytest python-pywal \ python-nose python-pip python-ptvsd python-pytest python-pywal \
qt5-imageformats qemu r raw-thumbnailer redshift reflector rofi \ qt5-imageformats qemu r raw-thumbnailer redshift reflector rofi \
@ -198,12 +198,20 @@ cd polybar_another_battery
go get -u github.com/distatus/battery/cmd/battery go get -u github.com/distatus/battery/cmd/battery
make build make build
ln -s ~/fromGIT/polybar_another_battery/polybar-ab ~/.local/bin/polybar-ab cd ~/.local/bin
ln -s ~/fromGIT/polybar_another_battery/polybar-ab polybar-ab
printf "\n# Install Reveal.JS ###########################################################\n\n" printf "\n# Install Reveal.JS ###########################################################\n\n"
cd ~/fromGIT cd ~/fromGIT
git clone https://github.com/hakimel/reveal.js.git git clone https://github.com/hakimel/reveal.js.git
printf "\n# Install powerline fonts #####################################################\n\n"
cd ~/fromGIT
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
fc-cache -vf
printf "\n# Install the rust toolchains, nightly is the default one #####################\n\n" printf "\n# Install the rust toolchains, nightly is the default one #####################\n\n"
rustup default nightly rustup default nightly

View File

@ -44,6 +44,7 @@
- [[#install-packages-from-git][Install packages from git]] - [[#install-packages-from-git][Install packages from git]]
- [[#polybar-battery][Polybar Battery]] - [[#polybar-battery][Polybar Battery]]
- [[#revealjs][Reveal.JS]] - [[#revealjs][Reveal.JS]]
- [[#install-powerline-fonts][Install powerline fonts]]
- [[#install-rust][Install Rust]] - [[#install-rust][Install Rust]]
- [[#install-the-toolchains][Install the toolchains]] - [[#install-the-toolchains][Install the toolchains]]
- [[#install-some-utilities][Install some utilities]] - [[#install-some-utilities][Install some utilities]]
@ -199,7 +200,7 @@
#+END_SRC #+END_SRC
Lets enable these. Lets enable these.
#+BEGIN_SRC fish #+BEGIN_SRC fish
printf "\n# Set our locale ##############################################################\n\n" printf "\n# Set locale ##################################################################\n\n"
for item in $mylocales for item in $mylocales
if test (grep -e "#$item" /etc/locale.gen) if test (grep -e "#$item" /etc/locale.gen)
sudo sed -i "/$item/s/^#//g" /etc/locale.gen sudo sed -i "/$item/s/^#//g" /etc/locale.gen
@ -294,18 +295,18 @@
cppreference cppreference-devhelp cpupower cronie cryptsetup device-mapper \ cppreference cppreference-devhelp cpupower cronie cryptsetup device-mapper \
diffutils discord-canary discount ditaa dmenu dmenu-lpass docker \ diffutils discord-canary discount ditaa dmenu dmenu-lpass docker \
docker-compose dockerfile-language-server-bin doxygen dunst dwarffortress \ docker-compose dockerfile-language-server-bin doxygen dunst dwarffortress \
emacs exfat-utils farbfeld feh ffmpegthumbnailer findutils firefox flake8 \ emacs emacs-org-mode exfat-utils farbfeld feh ffmpegthumbnailer findutils \
font-mathematica fontforge freeglut fzf gcc-libs gdb gimp glibc \ firefox flake8 font-mathematica fontforge freeglut fzf gcc-libs gdb gimp glibc \
gnome-disk-utility gnome-epub-thumbnailer gnu-free-fonts gnuplot go-tools \ gnome-disk-utility gnome-epub-thumbnailer gnu-free-fonts gnuplot go-tools \
golangci-lint-bin graphviz htop i3-gaps-rounded-git i3lock-blur i3status \ golangci-lint-bin graphviz htop i3-gaps-rounded-git i3lock-blur i3status \
igdm-bin inetutils j4-dmenu-desktop javascript-typescript-langserver \ igdm-bin inetutils j4-dmenu-desktop javascript-typescript-langserver \
js-beautify jfsutils jmtpfs lastpass-cli less linux-headers lldb logrotate \ js-beautify jfsutils jmtpfs lastpass-cli less linux-headers lldb logrotate \
lvm2 ly meson minted man-db man-pages mpc mpd mpd-rich-presence-discord-git \ lvm2 ly meson minted man-db man-pages mpc mpd mpd-rich-presence-discord-git \
mpv mupdf-tools nano ncdu ncmpcpp nemo-fileroller nemo-preview neofetch \ mpv mupdf-tools nano ncdu ncmpcpp nemo-fileroller nemo-preview neofetch netctl \
netctl networkmanager networkmanager-openvpn nm-connection-editor nnn \ networkmanager networkmanager-openvpn nm-connection-editor nnn nodejs-vmd \
nodejs-vmd nomacs nordvpn-bin noto-fonts-emoji npm ntfs-3g numlockx openssh \ nomacs nordvpn-bin noto-fonts-emoji npm ntfs-3g numlockx openssh otf-fandol \
otf-fandol otf-ipafont p7zip pacman-contrib pandoc-bin pavucontrol pciutils \ otf-ipafont p7zip pacman-contrib pandoc-bin pass pavucontrol pciutils pcurses \
pcurses pdfpc polybar prettier pulseaudio-bluetooth python-autoflake \ pdfpc polybar powerline-fonts prettier pulseaudio-bluetooth python-autoflake \
python-envtpl-git python-epc python-importmagic python-language-server \ python-envtpl-git python-epc python-importmagic python-language-server \
python-nose python-pip python-ptvsd python-pytest python-pywal \ python-nose python-pip python-ptvsd python-pytest python-pywal \
qt5-imageformats qemu r raw-thumbnailer redshift reflector rofi \ qt5-imageformats qemu r raw-thumbnailer redshift reflector rofi \
@ -618,7 +619,8 @@
Now, we have our binary, lets symlink it in our local binary directory, Now, we have our binary, lets symlink it in our local binary directory,
=~/.local/bin=. =~/.local/bin=.
#+BEGIN_SRC fish #+BEGIN_SRC fish
ln -s ~/fromGIT/polybar_another_battery/polybar-ab ~/.local/bin/polybar-ab cd ~/.local/bin
ln -s ~/fromGIT/polybar_another_battery/polybar-ab polybar-ab
#+END_SRC #+END_SRC
*** Reveal.JS *** Reveal.JS
@ -633,6 +635,20 @@
git clone https://github.com/hakimel/reveal.js.git git clone https://github.com/hakimel/reveal.js.git
#+END_SRC #+END_SRC
*** Install powerline fonts
:PROPERTIES:
:CUSTOM_ID: h-b1414f66-76fa-4287-848a-6facbc09381f
:END:
I also need some powerline fonts for my terminal theme.
#+BEGIN_SRC fish
printf "\n# Install powerline fonts #####################################################\n\n"
cd ~/fromGIT
git clone https://github.com/powerline/fonts.git --depth=1
cd fonts
./install.sh
fc-cache -vf
#+END_SRC
** Install Rust ** Install Rust
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: h-57e8af4c-93f2-4145-9c39-a5f8d1c9f012 :CUSTOM_ID: h-57e8af4c-93f2-4145-9c39-a5f8d1c9f012