1
0
Fork 0
mirror of https://github.com/eoli3n/dotfiles synced 2024-05-13 02:56:05 +02:00
eoli3n-dotfiles/README.md

189 lines
4.2 KiB
Markdown
Raw Normal View History

2017-12-23 22:44:23 +01:00
# i3-gaps Acid Dark
2016-03-29 20:44:38 +02:00
2017-12-27 16:00:38 +01:00
| | |
|-----------|:-------------:|
2017-12-27 16:00:38 +01:00
| Master | [![Build Status](https://travis-ci.org/eoli3n/dotfiles.svg?branch=master)](https://travis-ci.org/eoli3n/dotfiles) |
| Dev | [![Build Status](https://travis-ci.org/eoli3n/dotfiles.svg?branch=dev)](https://travis-ci.org/eoli3n/dotfiles) |
2017-12-26 01:15:08 +01:00
2017-12-22 13:25:54 +01:00
**i3-gaps zsh pureprompt polybar**
![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/i3gaps.png)
**Weechat**
![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/weechat.png)
**Chrome Rofi Stylish**
2016-09-17 18:35:54 +02:00
2017-12-22 13:25:54 +01:00
![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/chrome-rofi.png)
**Connman GTK Theme**
![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/connman-gtk.png)
2017-12-23 22:44:23 +01:00
2017-12-22 13:25:54 +01:00
## How to
Ansible allows to duplicate this Desktop Environment over multiple hosts with specific configuration (dualscreen, packages...).
2017-12-29 02:55:10 +01:00
2017-12-29 03:06:47 +01:00
**Fork Me!** Please look at ``roles/*/README.md`` if exists for specific hosts configuration.
2016-12-27 20:05:23 +01:00
2017-12-29 03:00:31 +01:00
**!!! Use as is, you will add my SSH key in your authorized_keys !!!**
2017-12-29 03:00:53 +01:00
2017-12-29 02:55:10 +01:00
To disable that role, please run :
```
cd dotfiles
sed -i 's/^\(.*authorized_keys.*\)$/#\1/' install.yml
```
2017-12-27 13:16:29 +01:00
## Test VMs|Containers
Please check ``vagrant/*/README.md`` and ``docker/*/README.md``
2017-12-20 02:15:03 +01:00
2017-12-23 22:44:23 +01:00
## Desktop/Laptop Environment
2017-12-22 13:25:54 +01:00
Don't use as ``root``.
2017-12-29 03:06:47 +01:00
2017-12-23 22:44:23 +01:00
### Supported OS
2017-12-23 22:24:17 +01:00
- Archlinux
2017-12-22 13:25:54 +01:00
### Dependencies
2017-01-09 22:42:58 +01:00
2017-12-23 22:44:23 +01:00
- ansible >= 2.4
- packer
2017-01-10 18:19:47 +01:00
2017-01-09 22:42:58 +01:00
```
2017-12-23 22:44:23 +01:00
sudo pacman -S jshon ansible
2017-12-19 01:41:48 +01:00
curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git; makepkg PKGBUILD --install --needed --noconfirm
2017-01-09 22:42:58 +01:00
```
2017-12-23 22:44:23 +01:00
### Role list
2017-12-29 12:38:06 +01:00
- packages-common
2017-12-23 22:44:23 +01:00
- screen
- ssh-agent
- authorized_keys
2017-12-23 22:44:23 +01:00
- terminfo
- vim
- zsh
2017-12-29 12:38:06 +01:00
- packages-desktop
2017-12-23 22:44:23 +01:00
- compton
- cursor
- gtk
- i3-wm
- neofetch
- polybar
- rofi
- termite
- weechat
- packages-laptop [only laptop tag]
- xbindkeys [only laptop tag]
2017-12-22 13:25:54 +01:00
### Installation
2017-12-19 01:47:37 +01:00
[WARNING] Use carefully, backup your home before using !
2017-12-19 22:13:53 +01:00
Ansible will backup any existing conf file before erasing it (.zshrc, .i3/config, etc...)
2017-01-10 14:51:21 +01:00
```
2017-12-19 01:41:48 +01:00
git clone --recursive https://github.com/eoli3n/dotfiles
2017-12-23 22:44:23 +01:00
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>
2018-01-04 21:13:36 +01:00
# 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
2017-01-10 14:51:21 +01:00
```
2017-01-15 12:55:50 +01:00
2017-12-22 13:25:54 +01:00
### Manual configurations
2016-09-19 12:40:40 +02:00
2017-01-09 22:56:15 +01:00
**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``
2017-12-23 22:44:23 +01:00
## Server Environment
2017-12-19 19:40:08 +01:00
2017-12-29 03:06:47 +01:00
``server`` tag limits to install/configure cli tools. It could be run as ``root``.
2017-12-23 22:44:23 +01:00
### Supported OS
2017-12-19 19:40:08 +01:00
2017-12-22 13:25:54 +01:00
- Archlinux
2017-12-22 21:06:46 +01:00
- Debian
2017-12-22 17:47:29 +01:00
- Centos
2017-12-22 14:20:42 +01:00
- FreeBSD : need to ``sudo ln -s /usr/local/bin/python2 /usr/bin/python``
2017-12-19 19:40:08 +01:00
2017-12-23 22:44:23 +01:00
### Dependencies
- ansible >= 2.4
### Role list
2017-12-29 12:38:06 +01:00
- packages-common
2017-12-23 22:44:23 +01:00
- screen
- terminfo
- vim
- zsh
- authorized_keys
2017-12-23 22:44:23 +01:00
## Installation
2017-12-22 13:25:54 +01:00
```
git clone --recursive https://github.com/eoli3n/dotfiles
2017-12-23 02:08:50 +01:00
cd dotfiles
2017-12-19 19:40:08 +01:00
# 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
2017-12-22 13:25:54 +01:00
```
2017-12-19 19:40:08 +01:00
2017-12-19 01:41:48 +01:00
# Previously
2017-01-15 12:55:50 +01:00
* [i3-gaps Dark Solarized](https://github.com/eoli3n/dotfiles/tree/zsh-agnoster-solarized)
2017-01-10 18:25:08 +01:00
**IRC**
eoli3n @ freenode #archlinux-fr