commit 6282dfca9ca91c3e4f0bc1b1b06d07cf2fd42ed7
parent 821ececc531be8da45c3a50ff39614ccaf48a1d6
Author: Hayden Hamilton <hayden@haydenvh.com>
Date: Sun, 1 Mar 2020 20:14:45 +0000
forgot to add tmux
Diffstat:
4 files changed, 58 insertions(+), 59 deletions(-)
diff --git a/.alias b/.alias
@@ -1,6 +1,7 @@
ls \ls --color
l \ls --color
vi vim
+v vim
xi sudo xbps-install
xq sudo xbps-query
xr sudo xbps-remove
diff --git a/.gitaddlist b/.gitaddlist
@@ -1,5 +1,6 @@
git add ./LICENSE
git add .alias
+git add .tmux.conf
git add .gitaddlist
git add .zprofile
git add .config/zsh
diff --git a/.tmux.conf b/.tmux.conf
@@ -0,0 +1,56 @@
+unbind C-b
+set-option -g prefix C-a
+bind-key C-a send-prefix
+
+set-option -g default-terminal "xterm-256color"
+
+bind z split-window -h
+bind Z split-window -v
+unbind '"'
+unbind %
+
+bind r source-file ~/.tmux.conf
+
+bind-key h select-pane -L
+bind-key j select-pane -D
+bind-key k select-pane -U
+bind-key l select-pane -R
+
+bind-key -r C-h resize-pane -L
+bind-key -r C-j resize-pane -D
+bind-key -r C-k resize-pane -U
+bind-key -r C-l resize-pane -R
+
+set-option -g status-justify right
+set-option -g status-bg black # colour213 # pink
+set-option -g status-fg cyan
+set-option -g status-interval 5
+set-option -g status-left-length 30
+set-option -g visual-activity on
+set-option -g set-titles on
+set-option -g set-titles-string '#H:#S.#I.#P #W #T'
+
+# modes
+setw -g clock-mode-colour colour5
+setw -g mode-style 'fg=colour1 bg=colour18 bold'
+
+# panes
+set -g pane-border-style 'fg=colour1'
+set -g pane-active-border-style 'fg=colour10'
+
+# statusbar
+set -g status-position bottom
+set -g status-justify centre
+set -g status-style 'bg=colour0 fg=colour11'
+set -g status-left '[#(whoami)@#H] > '
+set -g status-right '[#(pwd | sed "s~/home/~~g")] [#(git branch)] #[bg=colour4] %d/%m #[bg=colour10] %H:%M:%S '
+set -g status-right-length 45
+set -g status-left-length 45
+
+setw -g window-status-current-style 'fg=colour7 bg=colour3 bold'
+setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
+setw -g window-status-style 'fg=colour7 bg=colour2 dim'
+setw -g window-status-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F '
+
+# messages
+set -g message-style 'fg=colour232 bg=colour16 bold'
diff --git a/general/makefile b/general/makefile
@@ -1,59 +0,0 @@
-tar:
- tar cjvf images.tar.bz images
- tar czvf downloads.tar.gz downloads
- tar czvf documents.tar.gz documents
- tar cjvf music.tar.bz music
- tar cjvf videos.tar.gz videos
- tar czvf mail.tar.gz mail
- tar czvf security.tar.gz security
- tar cjvf games.tar.bz games
-
-dirclean:
- rm -rf `find -type d`
-
-images.tar.bz:
- tar cjvf images.tar.bz images
-downloads.tar.gz:
- tar czvf downloads.tar.gz downloads
-documents.tar.gz:
- tar czvf documents.tar.gz documents
-music.tar.bz:
- tar cjvf music.tar.bz music
-videos.tar.bz:
- tar cjvf videos.tar.bz videos
-mail.tar.gz:
- tar czvf mail.tar.gz mail
-security.tar.gz:
- tar czvf security.tar.gz security
-games.tar.bz:
- tar czvf games.tar.bz games
-
-clean:
- rm *.tar.*z
-
-extract:
- tar xjvf images.tar.bz
- tar xzvf downloads.tar.gz
- tar xzvf documents.tar.gz
- tar xjvf music.tar.bz
- tar xjvf videos.tar.gz
- tar xzvf mail.tar.gz
- tar xzvf security.tar.gz
- tar xjvf games.tar.gz
-
-link:
- cd ..
- ln -s general/images images
- ln -s general/music music
- ln -s general/videos videos
- ln -s general/images/wallpapers .wallpapers
- ln -s general/mail mail
- ln general/security/pass work/pass
- ln -s general/games/.openttd ./
-
-unlink:
- unlink ../images
- unlink ../music
- unlink ../videos
- unlink ../.wallpapers
- unlink ../mail