Update basesystem tasks & template.

This commit is contained in:
Glenn Y. Rolland 2015-12-29 15:21:04 +01:00
parent 38cbf88ccb
commit ce940cdbaf
3 changed files with 87 additions and 15 deletions

View file

@ -4,28 +4,38 @@
name="{{item}}" name="{{item}}"
state=present state=present
with_items: 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
- vim-gtk - vim-gtk
- git - xutils
- git-flow
- subversion
- mercurial
- hg-fast-export
- meld
- devscripts
- screen
- tmux
- opam
- cmake
- name: "Installing development libraries" - name: "Installing development libraries"
apt: > apt: >
name="{{item}}" name="{{item}}"
state=present state=present
with_items: with_items:
- manpages-dev - libdrm-dev
- plasma-desktop-dev
- xserver-xorg-dev
- libreadline-dev - libreadline-dev
- libssl-dev - libssl-dev
- manpages-dev
- mesa-common-dev
- plasma-desktop-dev
- xorg-dev
- xserver-xorg-dev
- xutils-dev

View file

@ -5,7 +5,8 @@
state=present state=present
with_items: with_items:
- htop - htop
- unrar
- lshw - lshw
- slay
- unrar

61
templates/tmux.conf Normal file
View file

@ -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