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

View File

@@ -56,6 +56,9 @@ dotfiles:
f_picom: f_picom:
src: picom.conf src: picom.conf
dst: ~/.config/picom.conf dst: ~/.config/picom.conf
f_tmux:
src: tmux.conf
dst: ~/.tmux.conf
profiles: profiles:
laptop: laptop:
include: include:
@@ -65,6 +68,7 @@ profiles:
- i3 - i3
- font - font
- picom - picom
- tmux
- gdb - gdb
work: work:
include: include:
@@ -74,12 +78,9 @@ profiles:
- i3 - i3
- font - font
- picom - picom
- tmux
- gdb - gdb
dev-linux: dev:
include:
- zsh
- vim
dev-obsd:
include: include:
- zsh - zsh
- vim - vim
@@ -114,3 +115,6 @@ profiles:
picom: picom:
dotfiles: dotfiles:
- f_picom - f_picom
tmux:
dotfiles:
- f_tmux

Submodule dotdrop updated: d860c07f64...b56e8ea00b

View File

@@ -1,7 +1,16 @@
{%@@ if profile == "laptop" @@%}
opacity-rule = [ opacity-rule = [
"85:class_g = 'XTerm' && !focused", "85:class_g = 'XTerm' && !focused",
"95: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: { wintypes: {
dock = { opacity = 0.8; } 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=a
set mouse=c set mouse=c
set undolevels=1337 set undolevels=1337
set backspace=indent,eol,start
" Indents " Indents
set tabstop=4 set tabstop=4
@@ -112,6 +113,7 @@ cmap Wq wq
cmap Q q cmap Q q
cmap W w cmap W w
cmap q1 q! cmap q1 q!
map <C-f> :Ex <CR>
" go to line edited, when closed " go to line edited, when closed
if has("autocmd") if has("autocmd")

View File

@@ -11,7 +11,7 @@
# #
# modded by Marc # 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_CLEAN=") %{$fg_bold[green]%}✔ "
ZSH_THEME_GIT_PROMPT_DIRTY=") %{$fg_bold[yellow]%}✗ " 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 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 fonts="/home/$USER/.local/share/fonts"
alias listfonts="fc-list :scalable=true:spacing=mono: family" alias listfonts="fc-list :scalable=true:spacing=mono: family"
alias cachefonts="fc-cache -f -v" alias cachefonts="fc-cache -f -v"
if [ -f ~/.zsh/zshaliases_local ]; then if [ -f ~/.zshaliases_local ]; then
source ~/.zsh/zshaliases_local source ~/.zshaliases_local
fi fi