4.2 KiB
i3-gaps Acid Dark
Master | |
Dev |
i3-gaps zsh pureprompt polybar
Weechat
Chrome Rofi Stylish
Connman GTK Theme
How to
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.
!!! Use as is, you will add my SSH key in your authorized_keys !!!
To disable that role, please run :
cd dotfiles
sed -i 's/^\(.*authorized_keys.*\)$/#\1/' install.yml
Test VMs|Containers
Please check vagrant/*/README.md
and docker/*/README.md
Desktop/Laptop Environment
Don't use as root
.
Supported OS
- Archlinux
Dependencies
- ansible >= 2.4
- packer
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
Role list
- packages-common
- screen
- ssh-agent
- authorized_keys
- terminfo
- vim
- zsh
- packages-desktop
- compton
- cursor
- gtk
- i3-wm
- neofetch
- polybar
- rofi
- termite
- weechat
- packages-laptop [only laptop tag]
- xbindkeys [only laptop tag]
Installation
[WARNING] Use carefully, backup your home before using ! Ansible will backup any existing conf file before erasing it (.zshrc, .i3/config, etc...)
git clone --recursive https://github.com/eoli3n/dotfiles
cd dotfiles
# edit hosts, then add your hostnames in right section <server|desktop|laptop>
# test connectivity
ansible all -m ping
# To list tasks and tags
ansible-playbook install.yml --list-tasks
# To dry-run and print files diff on all declared hosts
ansible-playbook install.yml -CDK
# To run the whole playbook for all hosts
ansible-playbook install.yml -K
# To install 1 tag on 1 host
ansible-playbook install.yml -K -l <hostname> -t <tag>
# To install for a specific user on 1 host
ansible-playbook install.yml -u user -K -l <hostname>
# To run only locally, add your hostname in right hosts file section
# you can replace server with <desktop|laptop>
echo << EOF > hosts
[server]
localhost ansible_connection=local
EOF
# then
ansible-playbook install.yml
Manual configurations
Google chrome
Open this link to set lighter scrollbar
chrome://flags/#overlay-scrollbars
To use dark theme, go to graphical configuration and click Use GTK+ Theme
Server Environment
server
tag limits to install/configure cli tools. It could be run as root
.
Supported OS
- Archlinux
- Debian
- Centos
- FreeBSD : need to
sudo ln -s /usr/local/bin/python2 /usr/bin/python
Dependencies
- ansible >= 2.4
Role list
- packages-common
- screen
- terminfo
- vim
- zsh
- authorized_keys
Installation
git clone --recursive https://github.com/eoli3n/dotfiles
cd dotfiles
# edit hosts, then add your hostnames in right section <server|desktop|laptop>
# test connectivity
ansible all -m ping
# To list tasks and tags
ansible-playbook install.yml --list-tasks
# To dry-run and print files diff on all declared hosts
ansible-playbook install.yml -CDK
# To run the whole playbook for all hosts
ansible-playbook install.yml -K
# To install 1 tag on 1 host
ansible-playbook install.yml -K -l <hostname> -t <tag>
# To run only locally, add your hostname in right hosts file section
# you can replace server with <desktop|laptop>
echo << EOF > hosts
[server]
localhost ansible_connection=local
EOF
# then
ansible-playbook install.yml
Previously
IRC
eoli3n @ freenode #archlinux-fr