minor things, add tmuxconf

This commit is contained in:
CramMK
2020-02-10 15:57:19 +01:00
parent f584f0e214
commit e818539e60
8 changed files with 53 additions and 13 deletions

View File

@@ -1,15 +1,20 @@
Dotfiles
========
My personal configurations, managed with the 'dotdrop' submodule
My personal configurations, managed with the 'dotdrop' submodule.
| Usage | Name |
| :--- | :--- |
| OS | Fedora |
| Distribution | Fedora 31 |
| Shell | zsh with oh-my-zsh |
| WM | i3 |
| Terminal | xterm |
| Font | Inconsolata |
| VIM-Theme | OneDark |
| VIM-Bar | lightline |
| Bar | i3Bar |
| Transparency | picom |
| Wallpaper | teh |
![xterm](LINK)
![vim](LINK)

View File

@@ -56,6 +56,9 @@ dotfiles:
f_picom:
src: picom.conf
dst: ~/.config/picom.conf
f_tmux:
src: tmux.conf
dst: ~/.tmux.conf
profiles:
laptop:
include:
@@ -65,6 +68,7 @@ profiles:
- i3
- font
- picom
- tmux
- gdb
work:
include:
@@ -74,17 +78,14 @@ profiles:
- i3
- font
- picom
- tmux
- gdb
dev-linux:
include:
- zsh
- vim
dev-obsd:
dev:
include:
- zsh
- vim
# Packages to be used above
# Packages to be used above
bash:
dotfiles:
- f_bashrc
@@ -114,3 +115,6 @@ profiles:
picom:
dotfiles:
- f_picom
tmux:
dotfiles:
- f_tmux

Submodule dotdrop updated: d860c07f64...b56e8ea00b

View File

@@ -1,7 +1,16 @@
{%@@ if profile == "laptop" @@%}
opacity-rule = [
"85:class_g = 'XTerm' && !focused",
"95:class_g = 'XTerm' && focused",
];
{%@@ endif @@%}
{%@@ if profile == "work" @@%}
opacity-rule = [
"90:class_g = 'XTerm' && !focused",
"100:class_g = 'XTerm' && focused",
];
{%@@ endif @@%}
wintypes: {
dock = { opacity = 0.8; }

18
dotfiles/tmux.conf Normal file
View File

@@ -0,0 +1,18 @@
set -g default-terminal "screen-256color"
set-option -g default-shell /bin/zsh
set -g history-limit 10000
#some vi behaviour
bind-key -r h select-pane -L
bind-key -r j select-pane -D
bind-key -r k select-pane -U
bind-key -r l select-pane -R
bind-key v split-window -h
bind-key s split-window -v
# colors
set -g status-bg black
set -g status-fg white
set -g status-right '%Y.%m.%d %H:%M'

View File

@@ -85,6 +85,7 @@ set encoding=utf-8
set mouse=a
set mouse=c
set undolevels=1337
set backspace=indent,eol,start
" Indents
set tabstop=4
@@ -112,6 +113,7 @@ cmap Wq wq
cmap Q q
cmap W w
cmap q1 q!
map <C-f> :Ex <CR>
" go to line edited, when closed
if has("autocmd")

View File

@@ -11,7 +11,7 @@
#
# modded by Marc
PROMPT='%{$fg_bold[green]%}➜ %{$fg_bold[green]%}%p %{$fg_bold[blue]%}%~ $(git_prompt_info)% %{$reset_color%}'
PROMPT='%{$fg[yellow]%}[%m] %{$fg_bold[green]%}➜ %{$fg_bold[green]%}%p %{$fg_bold[blue]%}%~ $(git_prompt_info)% %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_CLEAN=") %{$fg_bold[green]%}✔ "
ZSH_THEME_GIT_PROMPT_DIRTY=") %{$fg_bold[yellow]%}✗ "

View File

@@ -29,10 +29,12 @@ alias vimrc="vim ~/.vimrc"
alias dotdrop="~/dotfiles/dotdrop.sh" --cfg="~/dotfiles/config.yaml"
alias screenshot="import ~/Downloads/Screenshot-$(date '+%Y%m%d-%H%M%S').png"
alias fonts="/home/$USER/.local/share/fonts"
alias listfonts="fc-list :scalable=true:spacing=mono: family"
alias cachefonts="fc-cache -f -v"
if [ -f ~/.zsh/zshaliases_local ]; then
source ~/.zsh/zshaliases_local
if [ -f ~/.zshaliases_local ]; then
source ~/.zshaliases_local
fi