@@ -11,7 +11,7 @@ | |||||
# be disabled and audio files will only be accepted over ipc socket (using | # be disabled and audio files will only be accepted over ipc socket (using | ||||
# file:// protocol) or streaming files over an accepted protocol. | # file:// protocol) or streaming files over an accepted protocol. | ||||
# | # | ||||
music_directory "/home/immanuel/Music" | |||||
music_directory "/var/lib/mpd/music" | |||||
# | # | ||||
# This setting sets the MPD internal playlist directory. The purpose of this | # This setting sets the MPD internal playlist directory. The purpose of this | ||||
# directory is storage for playlists created by MPD. The server will use | # directory is storage for playlists created by MPD. The server will use | ||||
@@ -0,0 +1,3 @@ | |||||
#!/bin/sh | |||||
printf "$1 $2x$3" |
@@ -0,0 +1,11 @@ | |||||
#!/bin/sh | |||||
set_wallpaper() { | |||||
# paths=$(cat -) | |||||
type=$(printf "fill\nmax\ntile\ncenter\nscale" | dmenu -p 'type' ) | |||||
feh --bg-$type "$(cat /dev/stdin)" | |||||
} | |||||
case "$1" in | |||||
w) set_wallpaper;; | |||||
esac |
@@ -17,6 +17,7 @@ set -g mouse on | |||||
set -g mouse on | set -g mouse on | ||||
set -g default-terminal "tmux-256color" | set -g default-terminal "tmux-256color" | ||||
set -s escape-time 0 | set -s escape-time 0 | ||||
set -g status off | |||||
bind-key -T copy-mode-vi v send-keys -X begin-selection | bind-key -T copy-mode-vi v send-keys -X begin-selection | ||||
bind-key -T copy-mode-vi y send-keys -X copy-selection | bind-key -T copy-mode-vi y send-keys -X copy-selection | ||||
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle | bind-key -T copy-mode-vi r send-keys -X rectangle-toggle | ||||
@@ -48,21 +49,21 @@ set -g pane-border-style 'fg=colour19 bg=colour0' | |||||
set -g pane-active-border-style 'bg=colour0 fg=colour9' | set -g pane-active-border-style 'bg=colour0 fg=colour9' | ||||
# statusbar | # statusbar | ||||
set -g status-position bottom | |||||
set -g status-justify left | |||||
set -g status-style 'bg=colour18 fg=colour137 dim' | |||||
set -g status-left '' | |||||
set -g status-right '#[fg=colour233,bg=colour19] %d/%m #[fg=colour233,bg=colour8] %H:%M:%S ' | |||||
set -g status-right-length 50 | |||||
set -g status-left-length 20 | |||||
# set -g status-position bottom | |||||
# set -g status-justify left | |||||
# set -g status-style 'bg=colour18 fg=colour137 dim' | |||||
# set -g status-left '' | |||||
# set -g status-right '#[fg=colour233,bg=colour19] %d/%m #[fg=colour233,bg=colour8] %H:%M:%S ' | |||||
# set -g status-right-length 50 | |||||
# set -g status-left-length 20 | |||||
setw -g window-status-current-style 'fg=colour1 bg=colour19 bold' | |||||
setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F ' | |||||
# setw -g window-status-current-style 'fg=colour1 bg=colour19 bold' | |||||
# setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F ' | |||||
setw -g window-status-style 'fg=colour9 bg=colour18' | |||||
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F ' | |||||
# setw -g window-status-style 'fg=colour9 bg=colour18' | |||||
# setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F ' | |||||
setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold' | |||||
# setw -g window-status-bell-style 'fg=colour255 bg=colour1 bold' | |||||
# messages | # messages | ||||
set -g message-style 'fg=colour232 bg=colour16 bold' | set -g message-style 'fg=colour232 bg=colour16 bold' | ||||
@@ -13,6 +13,7 @@ runtime ftplugin/man.vim | |||||
set keywordprg=:Man | set keywordprg=:Man | ||||
let mapleader = "s" | let mapleader = "s" | ||||
set is | set is | ||||
" hi Normal guibg=NONE ctermbg=NONE | |||||
"Colour settings | "Colour settings | ||||
set t_Co=256 "Use 256 colours (Use this setting only if your terminal supports 256 colours) | set t_Co=256 "Use 256 colours (Use this setting only if your terminal supports 256 colours) | ||||
@@ -20,7 +21,7 @@ set tgc "More terminal colours | |||||
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" | let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum" | ||||
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" | let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum" | ||||
let base16colorspace=256 | let base16colorspace=256 | ||||
colorscheme base16-ocean | |||||
colorscheme base16-atelier-savanna-light | |||||
"colorscheme Tomorrow-Night | "colorscheme Tomorrow-Night | ||||
"Pymode stuff | "Pymode stuff | ||||
@@ -54,13 +55,17 @@ nnoremap <F2> :NERDTreeFocus<cr> | |||||
"Buffergator bindings | "Buffergator bindings | ||||
nmap <leader>[ :BuffergatorMruCyclePrev<cr> | |||||
nmap <leader>] :BuffergatorMruCycleNext<cr> | |||||
nmap <leader>f :BuffergatorOpen<cr> | |||||
nmap gb :BuffergatorMruCyclePrev<cr> | |||||
nmap gn :BuffergatorMruCycleNext<cr> | |||||
nmap gto :BuffergatorTabsOpen<cr> | |||||
nmap gtc :BuffergatorTabsOpen<cr> | |||||
nmap gfo :BuffergatorOpen<cr> | |||||
nmap gfc :BuffergatorClose<cr> | |||||
let g:buffergator_autoexpand_on_split=0 | let g:buffergator_autoexpand_on_split=0 | ||||
"Stuff for faster movement and aesthetics | "Stuff for faster movement and aesthetics | ||||
:set cursorline | :set cursorline | ||||
nnoremap <leader>cd :cd %:p:h<cr> | |||||
nnoremap <F3> :tabprevious<cr> | nnoremap <F3> :tabprevious<cr> | ||||
nnoremap <F4> :tabnext<cr> | nnoremap <F4> :tabnext<cr> | ||||
nnoremap <F5> :buffers<CR>:buffer<Space> | nnoremap <F5> :buffers<CR>:buffer<Space> | ||||
@@ -127,15 +132,15 @@ let g:airline#extensions#tabline#fnamecollapse = 2 | |||||
let g:airline#extensions#tabline#buffer_idx_mode = 1 | let g:airline#extensions#tabline#buffer_idx_mode = 1 | ||||
nmap ,1 <Plug>AirlineSelectTab1 | |||||
nmap ,2 <Plug>AirlineSelectTab2 | |||||
nmap ,3 <Plug>AirlineSelectTab3 | |||||
nmap ,4 <Plug>AirlineSelectTab4 | |||||
nmap ,5 <Plug>AirlineSelectTab5 | |||||
nmap ,6 <Plug>AirlineSelectTab6 | |||||
nmap ,7 <Plug>AirlineSelectTab7 | |||||
nmap ,8 <Plug>AirlineSelectTab8 | |||||
nmap ,9 <Plug>AirlineSelectTab9 | |||||
nmap g1 <Plug>AirlineSelectTab1 | |||||
nmap g2 <Plug>AirlineSelectTab2 | |||||
nmap g3 <Plug>AirlineSelectTab3 | |||||
nmap g4 <Plug>AirlineSelectTab4 | |||||
nmap g5 <Plug>AirlineSelectTab5 | |||||
nmap g6 <Plug>AirlineSelectTab6 | |||||
nmap g7 <Plug>AirlineSelectTab7 | |||||
nmap g8 <Plug>AirlineSelectTab8 | |||||
nmap g9 <Plug>AirlineSelectTab9 | |||||
let g:airline_powerline_fonts = 1 | let g:airline_powerline_fonts = 1 | ||||