From fc109f2d14107ac482ad60daea609b35b907aa0b Mon Sep 17 00:00:00 2001 From: eoli3n Date: Fri, 22 Dec 2017 13:25:54 +0100 Subject: [PATCH] updated readme --- README.md | 93 +++++++++++++++++++++--------------- roles/weechat/tasks/main.yml | 28 ++++++++--- 2 files changed, 76 insertions(+), 45 deletions(-) diff --git a/README.md b/README.md index fd0e4e3..e9a1e54 100644 --- a/README.md +++ b/README.md @@ -1,43 +1,5 @@ # Archlinux i3-gaps Acid Dark -## How to use - -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. - -## Try it in a VM - -Please check ``vagrant/*/README.md`` - -## Dependencies - -**Packer** - -``` -curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git; makepkg PKGBUILD --install --needed --noconfirm -``` - -## 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 -# To list tags -ansible-playbook -i "localhost," -c local install.yml --list-tags -# To list tasks, dryrun then install -dotfiles/install.sh -``` - -## 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`` - **i3-gaps zsh pureprompt polybar** ![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/i3gaps.png) @@ -53,7 +15,62 @@ To use dark theme, go to graphical configuration and click ``Use GTK+ Theme`` **Connman GTK Theme** ![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/connman-gtk.png) +## 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. +## Try it +Please check ``vagrant/*/README.md`` + +# Desktop/Laptop Environment + +## Archlinux + +### Dependencies + +- Ansible +- Packer + +``` +sudo pacman -S jshon +curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git; makepkg PKGBUILD --install --needed --noconfirm +``` + +### 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 +# To list tags +ansible-playbook -i "localhost," -c local install.yml --list-tags +# To list tasks, dryrun then install +dotfiles/install.sh +``` + +### 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 + +Supported OS : + +- Archlinux + +``` +git clone --recursive https://github.com/eoli3n/dotfiles +# To list tags +ansible-playbook -i "localhost," -c local install.yml --list-tags -t server +# To list tasks, dryrun then install +dotfiles/install.sh + +``` # Previously diff --git a/roles/weechat/tasks/main.yml b/roles/weechat/tasks/main.yml index c336668..a42e460 100644 --- a/roles/weechat/tasks/main.yml +++ b/roles/weechat/tasks/main.yml @@ -15,19 +15,33 @@ - name: Set weechat systemd user service systemd: name=weechat state=started enabled=yes user=yes daemon_reload=yes +- name: Test if weechat fifo is enable + stat: path='~/.weechat/weechat_fifo' + register: stat_fifo + +- debug: + msg: "Please active fifo with '/fifo enable' in weechat" + when: not stat_fifo.stat.exists + - name: Theme weechat shell: creates=~/.weechat/themed echo {{item}} >~/.weechat/weechat_fifo with_items: + - '*/bar hide nicklist' + - '*/bar show title' + - '*/bar hide status' + - '*/bar del buflist' + - '*/script install colorize_nicks.py highmon.pl buffers.pl' + - '*/set weechat.look.separator_horizontal " "' + - '*/set weechat.look.prefix_suffix " "' + - '*/set buffers.color.hotlist_message_fg 7' + - '*/set buffers.color.current_bg 240' + - '*/set buffers.color.current_fg white' + - '*/set buffers.look.show_number off' - '*/set weechat.bar.status.color_bg 0' - '*/set weechat.bar.title.color_bg 0' - '*/set weechat.color.chat_nick_colors 1,2,3,4,5,6' - '*/set weechat.color.chat_highlight_bg red' - '*/set weechat.color.chat_highlight black' - - '*/bar toggle nicklist' - - '*/bar toggle title' - - '*/bar toggle status' - - '*/set weechat.look.separator_horizontal " "' - - '*/set weechat.look.prefix_suffix " "' - '*/set weechat.bar.buffers.position top' - '*/set weechat.bar.input.items " ,[input_search],[input_paste],input_text"' - '*/set weechat.bar.input.color_delim 240' @@ -35,10 +49,10 @@ - '*/set weechat.look.prefix_join ""' - '*/set weechat.look.prefix_quit ""' - '*/set weechat.look.read_marker none' - - '*/script install colorize_nicks.py highmon.pl' - '*/set env TERM screen-256color' - - '*/upgrade' - '*/set weechat.look.buffer_time_format \${color:252}%H\${color:245}%M\${color:240}%S' + - '*/save' + - '*/reload' - name: Create themed file file: path=~/.weechat/themed state=touch