dot

packages and services management
Log | Files | Refs | README

commit 1aba827b92aba123ba4f1a3f5f49342dac35150f
parent 45a7a3a50d3dc0c0c040e4428087ffa81323b6d4
Author: josuah <mail@josuah.net>
Date:   Tue, 13 Dec 2016 16:01:24 +0000

Added fbida and updated iomenu

Diffstat:
M.config/tmux/conf | 46++++++++++++++++++++++++++++++----------------
M.local/bin/build | 2+-
A.local/share/build/fbida | 3+++
M.local/share/build/iomenu | 2+-
M.profile | 36++++++++++++++++++++++--------------
5 files changed, 57 insertions(+), 32 deletions(-)

diff --git a/.config/tmux/conf b/.config/tmux/conf @@ -1,28 +1,37 @@ -# /usr/bin/env tmux -f -# | ,-- -# |-- --.-. , , . , ,--. ,--. ---. |- -# | | | | | | >< | | | | | | -# ' ' ' ' `--` ' ` * `--' `--' ' ' ' 2016-10-08 -#------------------------------------------------------------------------------- +# Simple yet complete tmux configuration file 2016-12-13 +# _ +# |_ __ ., _ _ __ /_ +# | ||| |_| /\ . (_ (_) | | | +# +#_______________________________________________________________________________ + + # Editing mode + set -g status-keys vi + # Leader + set -g prefix C-Space unbind C-b bind C-Space send-key C-Space -# KEYBINDINGS 2016-10-05 -#------------------------------------------------------------------------------- +# Keybindings +#_______________________________________________________________________________ + # Copy mode + bind -t vi-copy v begin-selection bind -t vi-copy C-v rectangle-toggle bind -t vi-copy y copy-pipe 'xclip -i' bind -n PPage if -F '#{alternate_on}' 'send PPage' 'copy -e; send PPage' + # Pane management + bind -r k select-pane -U bind -r j select-pane -D bind -r h select-pane -L @@ -35,7 +44,9 @@ bind -r C-l resize-pane -R 1 bind % split -h -c '#{pane_current_path}' bind '"' split -v -c '#{pane_current_path}' + # Window management + bind -r < swap-window -t - bind -r > swap-window -t + bind -r p previous-window @@ -44,13 +55,16 @@ bind -r Tab last-window bind -r c new-window -c '#{pane_current_path}' bind -r C new-window + # Global tmux state + bind -n C-z detach -bind r source ~/.tmux.conf\; display "Config loaded" +bind r source ~/.config/tmux/conf\; display "Config loaded" + +# Hooks +#_______________________________________________________________________________ -# HOOKS 2016-10-05 -#------------------------------------------------------------------------------- # Refresh status line set-hook -g after-select-pane 'refresh-client -S' @@ -63,8 +77,8 @@ set-hook -g after-switch-client 'refresh-client -S' set-hook -g after-delete-buffer 'refresh-client -S' -# OPTIONS 2016-10-05 -#------------------------------------------------------------------------------- +# Options +#_______________________________________________________________________________ set -g base-index 1 set -g pane-base-index 1 @@ -74,7 +88,7 @@ set -g repeat-time 500 set -g detach-on-destroy off -# GLOBAL APPEARANCE +# Global appearance # Messages set -g message-style bold,fg=red @@ -92,7 +106,7 @@ set -g clock-mode-style 24 set -g mode-style bg=white,fg=black -# STATUS +# Status set -g status-interval 5 @@ -126,7 +140,7 @@ set -g window-status-bell-style fg=white,bg=red set -g window-status-activity-style fg=white,bg=yellow -# BORDERS +# Borders set -g pane-border-style bold,fg=white set -g pane-active-border-style bold,fg=white diff --git a/.local/bin/build b/.local/bin/build @@ -96,7 +96,7 @@ download() [ -f "$script" -o -h "$script" ] || error "$name" "no build script" . "$script" - info "$name" "downloading \"$tar\"" + info "$name" "downloading" case "$tar" in *.tar ) opt='' ;; diff --git a/.local/share/build/fbida b/.local/share/build/fbida @@ -0,0 +1,3 @@ +# Framebuffer image viewer + +tar=http://github.com/fcarlier/fbida/archive/master.tar.gz diff --git a/.local/share/build/iomenu b/.local/share/build/iomenu @@ -1,3 +1,3 @@ # Input/Output interactive menu and completion engine. -tar=http://repo.or.cz/iomenu.git/snapshot/0dd1432545ee72600c98ebb73b9b172c66167008.tar.gz +tar=http://repo.or.cz/iomenu.git/snapshot/9c3bd8101c94dbd668aa9c50226520b22c3f14ed.tar.gz diff --git a/.profile b/.profile @@ -19,25 +19,33 @@ $(find ~/.config/ -name shell ! -type d) EOF case "$(tty)" in -/dev/tty1 ) +/dev/tty1) io-tty-theme matrix - setfont ~/.local/share/consolefonts/vector-16.psf - cmatrix -ab + setfont ~/.local/share/consolefonts/default-16.psf ;; -/dev/tty2 ) + +/dev/tty2) io-tty-theme exo - setfont ~/.local/share/consolefonts/miniwi-8.psf - cmatrix -ab + setfont ~/.local/share/consolefonts/cybercafe.fnt ;; -/dev/tty6 ) - startx : + +/dev/tty3) + io-tty-theme gotham + setfont ~/.local/share/consolefonts/lode-16.psf ;; -esac -if [ "$TERM" = 'linux' ] -then +/dev/tty4) + io-tty-theme alien + setfont ~/.local/share/consolefonts/vector-16.psf + ;; - io-tty-theme solarized-light - setfont ~/.local/share/consolefonts/tamzen-16.psf +/dev/tty5) + io-tty-theme pink + setfont ~/.local/share/consolefonts/miniwi-16.psf + ;; -fi +/dev/tty6) + io-tty-theme solarized-dark + setfont ~/.local/share/consolefonts/tamzen-16.psf + ;; +esac