From ce940cdbafeb362c46934b6aa0220a7f93a05878 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Tue, 29 Dec 2015 15:21:04 +0100 Subject: [PATCH] Update basesystem tasks & template. --- tasks/development.yml | 38 +++++++++++++++++---------- tasks/system.yml | 3 ++- templates/tmux.conf | 61 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+), 15 deletions(-) create mode 100644 templates/tmux.conf diff --git a/tasks/development.yml b/tasks/development.yml index 0596e0f..274c7e5 100644 --- a/tasks/development.yml +++ b/tasks/development.yml @@ -4,28 +4,38 @@ name="{{item}}" state=present with_items: + - autoconf + - automake + - build-essential + - cmake + - configure-debian + - devscripts + - git-core + - git-flow + - hg-fast-export + - libtool + - meld + - mercurial + - opam + - screen + - subversion + - tmux - vim - vim-gtk - - git - - git-flow - - subversion - - mercurial - - hg-fast-export - - meld - - devscripts - - screen - - tmux - - opam - - cmake + - xutils - name: "Installing development libraries" apt: > name="{{item}}" state=present with_items: - - manpages-dev - - plasma-desktop-dev - - xserver-xorg-dev + - libdrm-dev - libreadline-dev - libssl-dev + - manpages-dev + - mesa-common-dev + - plasma-desktop-dev + - xorg-dev + - xserver-xorg-dev + - xutils-dev diff --git a/tasks/system.yml b/tasks/system.yml index 9a96a5b..3eb8080 100644 --- a/tasks/system.yml +++ b/tasks/system.yml @@ -5,7 +5,8 @@ state=present with_items: - htop - - unrar - lshw + - slay + - unrar diff --git a/templates/tmux.conf b/templates/tmux.conf new file mode 100644 index 0000000..c79946a --- /dev/null +++ b/templates/tmux.conf @@ -0,0 +1,61 @@ +### display + +set utf8 on +set status-utf8 on + + +#### COLOUR (Solarized dark) +set -g default-terminal "xterm-256color" + +# default statusbar colors +set status-style "bg=black" +set-option -g status-bg black #base02 +set-option -g status-fg yellow #yellow +set-option -g status-attr default + +# default window title colors +set-window-option -g window-status-fg brightblue #base0 +set-window-option -g window-status-bg default +set-window-option -g window-status-attr dim + +# active window title colors +set-window-option -g window-status-current-fg brightred #orange +set-window-option -g window-status-current-bg default +set-window-option -g window-status-current-attr bright + +# pane border +set-option -g pane-border-fg black #base02 +set-option -g pane-active-border-fg green #base01 + +# message text +set-option -g message-bg black #base02 +set-option -g message-fg brightred #orange + +# pane number display +set-option -g display-panes-active-colour blue #blue +set-option -g display-panes-colour brightred #orange + +# clock +set-window-option -g clock-mode-colour green #green + +# bell +set-window-option -g window-status-bell-style fg=black,bg=red #base02, red + +## KEY BINDING + +## Allow Ctrl-left/Right for shell +set-window-option -g xterm-keys on + +## Alt-Left / Alt-Right to move between windows +bind-key -n M-Left previous-window +bind-key -n M-Right next-window + +## Use C-a instead of C-b +# unbind C-b +# set -g prefix C-a +# bind C-a send-prefix + +## Use C-b r to reload configuration +unbind r +bind r source-file ~/.tmux.conf +