Update many things and add new colorscheme, termite config, tilda config, Xresource, etc...

This commit is contained in:
2018-04-30 00:37:31 +02:00
parent 304f883c1e
commit 5ef18b7a9d
17 changed files with 646 additions and 67 deletions

100
rc/Xresources Normal file
View File

@ -0,0 +1,100 @@
!!!!!!!!!!!!!!!!!!
!URxvt settings
!
!General
URxvt.geometry: 120x28
URxvt.secondaryScreen: true
URxvt.secondaryScroll: true
URxvt.secondaryWheel: true
URxvt.scrollBar: off
URxvt*scrollTtyOutput: false
URxvt*scrollWithBuffer: true
URxvt*scrollTtyKeypress: true
URxvt.jumpScroll: false
URxvt.saveLines: 10000
URxvt.letterSpace: -1
URxvt.internalBorder: 0
URxvt*loginShell: true
URxvt.intensityStyles: false
URxvt.cursorBlink: true
!Fonts
#define fonts xft:DejaVuSansMono:size=11, \
xft:PowerlineSymbols:size=11, \
xft:DejaVu Sans Mono for Powerline:size=11, \
xft:Roboto Mono Light for Powerline:size=11
URxvt.font: fonts
URxvt.boldFont: fonts
URxvt.italicFont: fonts
URxvt.boldItalicFont: fonts
! Perl stuff
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select,fullscreen,font-size,tabbedex
URxvt.url-select.launcher: firefox
URxvt.url-select.underline: true
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.keysym.M-Escape: perl:keyboard-select:activate
URxvt.keysym.M-s: perl:keyboard-select:search
!Copy to clipboard using Ctrl-Shift-c
URxvt.iso14755 : false
URxvt.clipboard.autocopy: true
URxvt.keysym.Shift-Control-V: eval:paste_clipboard
URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
URxvt.keysym.C-plus: perl:font-size:increase
URxvt.keysym.C-underscore: perl:font-size:decrease
URxvt.keysym.C-S-Up: perl:font-size:incglobal
URxvt.keysym.C-S-Down: perl:font-size:decglobal
!Fullscreen
URxvt.keysym.F11: perl:fullscreen:switch
! PaperColor Theme
URxvt.foreground: #4D4D4C
URxvt.background: #EEEEEE
! black
URxvt.color0: #EDEDED
URxvt.color8: #969694
! red
URxvt.color1: #D7005F
URxvt.color9: #D7005F
! green
URxvt.color2: #718C00
URxvt.color10: #718C00
! yellow / orange
URxvt.color3: #D75F00
URxvt.color11: #D75F00
! blue
URxvt.color4: #4271AE
URxvt.color12: #4271AE
! magenta
URxvt.color5: #8959A8
URxvt.color13: #8959A8
! cyan
URxvt.color6: #3E999F
URxvt.color14: #3E999F
! white
URxvt.color7: #4D4D4C
URxvt.color15: #F5F5F5
!!PaperColor Theme END
!Tab colors
URxvt.tabbed.tabbar-fg: 244
URxvt.tabbed.tabbar-bg: 234
URxvt.tabbed.title-fg: 238
URxvt.tabbed.title-bg: 234
URxvt.tabbed.bell-fg: 253
URxvt.tabbed.bell-bg: 166
URxvt.tabbed.bell-tab-fg: 253
URxvt.tabbed.bell-tab-bg: 244
URxvt.tabbed.tab-fg: 249
URxvt.tabbed.tab-bg: 238
URxvt.tabbed.autohide: false
URxvt.keysym.Control-t: perl:tabbedex:new_tab
URxvt.keysym.M-Shift-L: perl:tabbedex:next_tab
URxvt.keysym.M-Shift-H: perl:tabbedex:prev_tab

View File

@ -1,6 +1,9 @@
# tmux display things in 256 colors
set -g default-terminal "screen-256color"
set -g default-terminal "tmux"
# set terminfo for termite
set -ga terminal-overrides ",xterm-termite:Tc"
# set new history limit
set -g history-limit 30000
@ -89,8 +92,8 @@ unbind [
bind Escape copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
#bind -t vi-copy 'v' begin-selection
#bind -t vi-copy 'y' copy-selection
##############################
### Color & Style Settings ###
@ -102,6 +105,8 @@ source ~/.tmux/theme.sh
##############################
### Plugins ###
##############################
# <prefix + I> Install
# <prefix + U> Update
# List of plugins
set -g @plugin 'tmux-plugins/tpm'

60
rc/tmux/tmux/theme.sh Normal file
View File

@ -0,0 +1,60 @@
#### COLOUR
tm_icon="☀"
tm_color_active=colour32
tm_color_inactive=colour59
tm_color_feature=colour25
tm_color_music=colour25
tm_active_border_color=colour25
# separators
tm_separator_left_bold="◀"
tm_separator_left_thin=""
tm_separator_right_bold="▶"
tm_separator_right_thin=""
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
# default statusbar colors
# set-option -g status-bg colour0
set-option -g status-fg $tm_color_active
set-option -g status-bg default
set-option -g status-attr default
# default window title colors
set-window-option -g window-status-fg $tm_color_inactive
set-window-option -g window-status-bg default
set -g window-status-format "#I #W"
# active window title colors
set-window-option -g window-status-current-fg $tm_color_active
set-window-option -g window-status-current-bg default
set-window-option -g window-status-current-format "#[bold]#I #W"
# pane border
set-option -g pane-border-fg $tm_color_inactive
set-option -g pane-active-border-fg $tm_active_border_color
# message text
set-option -g message-bg default
set-option -g message-fg $tm_color_active
# pane number display
set-option -g display-panes-active-colour $tm_color_active
set-option -g display-panes-colour $tm_color_inactive
# clock
set-window-option -g clock-mode-colour $tm_color_active
tm_tunes="#[fg=$tm_color_music]#(~/.dotfiles/scripts/tunes.sh)"
tm_battery="#(~/.dotfiles/scripts/battery.sh)"
tm_date="#[fg=$tm_color_inactive] %R %d-%m"
tm_host="#[fg=$tm_color_feature,bold]#h"
tm_session_name="#[fg=$tm_color_feature,bold]$tm_icon #S"
set -g status-left '#{prefix_highlight}'$tm_session_name' '
set -g status-right "$tm_tunes$tm_battery |$tm_date $tm_host"

View File

@ -1,33 +1,38 @@
export ZSH=/home/roman/.oh-my-zsh
DEFAULT_USER="roman"
ZSH_THEME="agnoster"
COMPLETION_WAITING_DOTS="true"
ZSH_THEME="robbyrussell" #old=("agnoster")
ZSH_TMUX_AUTOSTART="true"
ZSH_TMUX_AUTOQUIT="true"
plugins=(tmux jump)
CASE_SENSITIVE="true"
COMPLETION_WAITING_DOTS="true"
#set dircolor to solarized-dark
eval `dircolors ~/.dotfiles/gnome-terminal/dircolors-solarized/dircolors.ansi-dark`
#export PATH=~/bin:$PATH
# Plugin list
plugins=(
tmux
jump
systemd
docker
ptyhon
colored-man-pages
command-not-found # needs package pkgfile
)
source $ZSH/oh-my-zsh.sh
# Exports
export EDITOR="nvim"
export PATH=~/.bin:$PATH
export LANG=de_DE.UTF-8
# load aliases
source ~/.config/aliases
#BASE16_SHELL="$HOME/.config/base16-shell/base16-brewer.dark.sh"
#[[ -s $BASE16_SHELL ]] && source $BASE16_SHELL
#export NVM_DIR="/home/booker/.nvm"
#[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
# fix for termite VTE Terminal
if [[ $TERM == xterm-termite ]]; then
. /etc/profile.d/vte.sh
__vte_osc7
fi
# add ruby to path
PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
#PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"