From afd3b85b97d6d2664df000695e994c01c930ba3e Mon Sep 17 00:00:00 2001 From: eoli3n Date: Sat, 4 Jan 2020 21:32:08 +0100 Subject: [PATCH] fix fish install --- README.md | 11 +++++------ roles/fish/tasks/main.yml | 4 ++-- roles/sway/templates/by_host/nixtest/config.j2 | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 263a733..684a56b 100644 --- a/README.md +++ b/README.md @@ -18,13 +18,12 @@ ![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/connman-gtk.png) -## Why using Ansible ? -Ansible allows to duplicate this Desktop Environment over multiple hosts with specific configuration (dualscreen, packages...). -All your nodes will have access to all configurations if -- your git repo is accessible from every nodes -- your current node ssh keys is authorized on all nodes +## Why dotfiles with Ansible ? -You should be able to edit and push from/to any managed hosts. +- Config files derivation by host or by OS with jinja2 templating +- It manage packages too +- Secrets with Ansible-vault +- Multiple hosts and ability to update a config on all hosts from a single command ## Test VMs|Containers Please check ``vagrant/*/README.md`` and ``docker/*/README.md`` diff --git a/roles/fish/tasks/main.yml b/roles/fish/tasks/main.yml index e519b76..c6a64b7 100644 --- a/roles/fish/tasks/main.yml +++ b/roles/fish/tasks/main.yml @@ -20,8 +20,8 @@ - name: Install pureprompt plugin shell: | fish -c "omf install pure" - ln -s $OMF_PATH/themes/pure/conf.d/pure.fish ~/.config/fish/conf.d/pure.fish - ln -s $OMF_PATH/themes/pure/conf.d/_pure_init.fish ~/.config/fish/conf.d/pure_init.fish + fish -c "ln -s $OMF_PATH/themes/pure/conf.d/pure.fish ~/.config/fish/conf.d/pure.fish" + fish -c "ln -s $OMF_PATH/themes/pure/conf.d/_pure_init.fish ~/.config/fish/conf.d/pure_init.fish" args: creates: ~/.config/fish/conf.d/pure.fish diff --git a/roles/sway/templates/by_host/nixtest/config.j2 b/roles/sway/templates/by_host/nixtest/config.j2 index 74f15f7..6cd4175 100644 --- a/roles/sway/templates/by_host/nixtest/config.j2 +++ b/roles/sway/templates/by_host/nixtest/config.j2 @@ -10,7 +10,7 @@ output * dpms on exec --no-startup-id swaymsg 'exec xbindkeys &' exec --no-startup-id swaymsg 'exec variety &' exec --no-startup-id swaymsg 'exec firefox' -exec --no-startup-id swaymsg 'exec firefox -CreateProfile kiosk -no-remote -P "kiosk" -kiosk "www.gmail.com"' +exec --no-startup-id swaymsg 'exec firefox -private -kiosk "www.gmail.com"' exec --no-startup-id swaymsg 'workspace $tag4; exec termite -e "screen -rd weechat &"' exec --no-startup-id swaymsg 'workspace $tag2; exec termite -e "ssh-add" && termite' #INCLUDE####################################################