From c27c08e3dacf02a3ef4769477c15c0d2de8b5435 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 23 Aug 2018 14:32:42 +0200 Subject: [PATCH] start sync dotfiles --- Choux.yml | 1 + files/Xdefaults | 68 ++++++++++++++++++++++++++++++++++++ tasks/arch_base_packages.yml | 10 +++++- tasks/dotfiles.yml | 8 +++++ 4 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 files/Xdefaults create mode 100644 tasks/dotfiles.yml diff --git a/Choux.yml b/Choux.yml index e784db7..e9cdf51 100644 --- a/Choux.yml +++ b/Choux.yml @@ -13,3 +13,4 @@ - include: tasks/arch_aur.yml - include: tasks/arch_gnome.yml - include: tasks/arch_graphicals.yml + - include: tasks/dotfiles.yml diff --git a/files/Xdefaults b/files/Xdefaults new file mode 100644 index 0000000..2858d54 --- /dev/null +++ b/files/Xdefaults @@ -0,0 +1,68 @@ +!*.font: xft:monospace:size=9 +! URxvt*font: xft:Ubuntu Mono derivative Powerline:size=9 +URxvt*font: xft:Ubuntu Mono derivative Powerline:pixelsize=14:antialias=true:hinting=true +URxvt*scrollBar: false + +URxvt.perl-ext-common: default,fullscreen,resize-font +! fullscreen with F11 +URxvt.keysym.F11: perl:fullscreen:switch + +! `font-size` plugin +URxvt.resize-font.smaller: C-Down +URxvt.resize-font.bigger: C-Up + + +! URxvt.foreground: #f6f3e8 +! URxvt.background: #242424 +! URxvt.cursorColor: #f6f3e8 +*.foreground: #fcfae1 +*.background: #404040 +*.cursorColor: #f595a7 +*.color0: #404040 +*.color8: #262626 +*.color1: #b9454b +*.color9: #e75252 +*.color2: #bd8d46 +*.color10: #dea552 +*.color3: #f6e497 +*.color11: #d1c180 +*.color4: #f595a7 +*.color12: #d1a5ad +*.color5: #d28e2a +*.color13: #b47a24 +*.color6: #ebcd4f +*.color14: #b9a659 +*.color7: #fcfae1 +*.color15: #f3f2e7 + + +! ! ANSI colours +! ! black +! URxvt.color0: #073642 +! URxvt.color8: #002636 +! ! red +! URxvt.color1: #dc322f +! URxvt.color9: #cb4b16 +! ! green +! URxvt.color2: #859900 +! URxvt.color10: #586e75 +! ! yellow +! URxvt.color3: #b58900 +! URxvt.color11: #657b83 +! ! blue +! URxvt.color4: #268bd2 +! URxvt.color12: #839496 +! ! magenta +! URxvt.color5: #d33682 +! URxvt.color13: #6c71c4 +! ! cyan +! URxvt.color6: #2aa198 +! URxvt.color14: #93a1a1 +! ! white +! URxvt.color7: #eee8d5 +! URxvt.color15: #fdf6e3 + +! Colored man +URxvt.colorIT: #87af5f +URxvt.colorBD: #d7d7d7 +URxvt.colorUL: #87afd7 diff --git a/tasks/arch_base_packages.yml b/tasks/arch_base_packages.yml index f05b526..958ec99 100644 --- a/tasks/arch_base_packages.yml +++ b/tasks/arch_base_packages.yml @@ -4,7 +4,7 @@ update_cache: yes upgrade: yes -- name: Install base packages +- name: Install base CLI packages pacman: name: "{{ item }}" state: present @@ -17,3 +17,11 @@ - htop - ranger +- name: Install extra CLI packages + pacman: + name: "{{ item }}" + state: present + with_items: + - mocp + - newsboat + when: not minimal diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml new file mode 100644 index 0000000..ccf31e0 --- /dev/null +++ b/tasks/dotfiles.yml @@ -0,0 +1,8 @@ +--- +- name: urxvt Xdefault + template: + src: files/Xdefaults + dest: /home/{{ me }}/.Xdefaults + + +