1
0
Fork 0
mirror of https://github.com/eoli3n/dotfiles synced 2024-05-27 01:46:05 +02:00

updated README.md

This commit is contained in:
eoli3n 2017-12-23 22:44:23 +01:00
parent a596e3f3fa
commit 8b7629d346
2 changed files with 49 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# Archlinux i3-gaps Acid Dark # i3-gaps Acid Dark
**i3-gaps zsh pureprompt polybar** **i3-gaps zsh pureprompt polybar**
@ -15,38 +15,59 @@
**Connman GTK Theme** **Connman GTK Theme**
![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/connman-gtk.png) ![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/connman-gtk.png)
## How to ## How to
Ansible allows to duplicate this Desktop Environment over multiple hosts with specific configuration (dualscreen, packages...). Ansible allows to duplicate this Desktop Environment over multiple hosts with specific configuration (dualscreen, packages...).
Fork Me! Please look at ``roles/*/README.md`` if exists for specific hosts configuration. Fork Me! Please look at ``roles/*/README.md`` if exists for specific hosts configuration.
## Try it ## Test VMs
Please check ``vagrant/*/README.md`` Please check ``vagrant/*/README.md``
# Desktop/Laptop Environment ## Desktop/Laptop Environment
## Supported OS ### Supported OS
- Archlinux - Archlinux
### Dependencies ### Dependencies
- Ansible - ansible >= 2.4
- Packer - packer
``` ```
sudo pacman -S jshon sudo pacman -S jshon ansible
curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git; makepkg PKGBUILD --install --needed --noconfirm curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git; makepkg PKGBUILD --install --needed --noconfirm
``` ```
### Role list
- package-common
- screen
- ssh-agent
- terminfo
- vim
- zsh
- package-desktop
- compton
- cursor
- gtk
- i3-wm
- neofetch
- polybar
- rofi
- termite
- weechat
- packages-laptop [only laptop tag]
- xbindkeys [only laptop tag]
### Installation ### Installation
[WARNING] Use carefully, backup your home before using ! [WARNING] Use carefully, backup your home before using !
Ansible will backup any existing conf file before erasing it (.zshrc, .i3/config, etc...) Ansible will backup any existing conf file before erasing it (.zshrc, .i3/config, etc...)
``` ```
git clone --recursive https://github.com/eoli3n/dotfiles git clone --recursive https://github.com/eoli3n/dotfiles
# To list tags cd dotfiles
ansible-playbook -i "localhost," -c local install.yml --list-tags
# To list tasks, dryrun then install # To list tasks, dryrun then install
dotfiles/install.sh <desktop|laptop|[any package tag]> ./install.sh <desktop|laptop|[any package tag]>
``` ```
### Manual configurations ### Manual configurations
@ -59,27 +80,35 @@ chrome://flags/#overlay-scrollbars
``` ```
To use dark theme, go to graphical configuration and click ``Use GTK+ Theme`` To use dark theme, go to graphical configuration and click ``Use GTK+ Theme``
# Server Environment ## Server Environment
## Deps ``server`` tag limits to install/configure cli tools.
- git ### Supported OS
- ansible
## Supported OS
- Archlinux - Archlinux
- Debian - Debian
- Centos - Centos
- FreeBSD : need to ``sudo ln -s /usr/local/bin/python2 /usr/bin/python`` - FreeBSD : need to ``sudo ln -s /usr/local/bin/python2 /usr/bin/python``
### Dependencies
- ansible >= 2.4
### Role list
- package-common
- screen
- ssh-agent
- terminfo
- vim
- zsh
## Installation ## Installation
``` ```
git clone --recursive https://github.com/eoli3n/dotfiles git clone --recursive https://github.com/eoli3n/dotfiles
# To list tags
cd dotfiles cd dotfiles
ansible-playbook -i "localhost," -c local install.yml --list-tags -t server
# To list tasks, dryrun then install # To list tasks, dryrun then install
./install.sh <server|[any package tag]> ./install.sh <server|[any package tag]>

3
TODO
View File

@ -6,7 +6,8 @@
- TOTEST : powerlines - TOTEST : powerlines
- TODO: check best install method all distrib powerline - TODO: check best install method all distrib powerline
- TODO: clean zshrc - TODO: clean zshrc
- TODO: Ubuntu compat and vagrant - TODO: Ubuntu compat and vagrant for server tag
- TODO: Debian/Ubuntu/CentOS/FreeBSD compat and vagrant for desktop/laptop tag
- TODO: Add a tag "dotfiles", and pass every copy/templates/file with dest={{ dotsroot }} - TODO: Add a tag "dotfiles", and pass every copy/templates/file with dest={{ dotsroot }}
then : ansible-playbook localhost install.yml -t dotfiles -e 'dotsroot: tmp' then : ansible-playbook localhost install.yml -t dotfiles -e 'dotsroot: tmp'
to compile only dotfiles in an example dir ~/tmp ? what about lineinfile module ? to compile only dotfiles in an example dir ~/tmp ? what about lineinfile module ?