dotfiles

configuration files for different softwares
git clone git://z3bra.org/dotfiles
Log | Files | Refs

commit 1b37e2ed1fcdaab6554d589ae0cba71df4b79cbb
parent f5205f2f4baf1ece0869063f2058e443fe3f79a2
Author: z3bra <willyatmailoodotorg>
Date:   Wed Nov 25 00:38:12 2015

some changes, can't recall waht and I don't give a shit

Diffstat:
 mkshrc           | 34 ++++++++++++----------------------
 profile          |  2 +-
 sxhkdrc          | 29 ++++++++++++++++++-----------
 theme/rainy.h    | 19 +++++++++++++++++++
 theme/spring     | 19 +++++++++++++++++++
 theme/standard.h | 19 +++++++++++++++++++
 tmux.conf        | 26 +++++++-------------------
 xinitrc          | 11 +++++++----
 xrdb.conf        | 25 +++++++++++++------------
 9 files changed, 115 insertions(+), 69 deletions(-)

diff --git a/mkshrc b/mkshrc @@ -1,4 +1,4 @@ -PS1='██ ' +PS1='$ ' PS2='> ' HISTSIZE=10240 HISTFILE=~/.history @@ -12,38 +12,28 @@ up() { cd $up pwd } -say () { - TL=${TL:-en} - uri='http://translate.google.com/translate_tts?tl=${TL}&q=' - mplayer -really-quiet '${uri}$*' -} upthemall() { - for p in ~/crux/ports/*; do - cd $p - prtup && - fakeroot pkgmk -d && - git add . - done + CWD=$(pwd) + for p in $HOME/crux/ports/*; do + cd $p + prtup && + fakeroot pkgmk -d && + git add . + done + cd $CWD } -alias quit='exit' -alias c='clear' -alias so='source ~/.bashrc' -alias :q='quit' -alias cd..='cd ..' alias fu='sup `fc -n -l -1`' -alias sv='sup vi' +alias sv='sup vis' alias l='ls -1 --color=auto' alias ll='l -l' alias mtop='ps --no-header -eo pmem,size,vsize,comm | sort -nr | sed 10q' alias ctop='ps --no-header -eo pcpu,comm | sort -nr | sed 10q' -alias v='vim' -alias vi='vim' +alias v='vis' +alias vi='vis' alias t='tmux' -alias csv='column -t -s\;' alias vol='alsamixer' alias yg="youtube-dl -q -x -o '%(title).%(ext)'" alias deptree='prt-get deptree' -alias update='prt-get update' # X11 only alias xreload='xrdb -load ~/conf/xrdb.conf' diff --git a/profile b/profile @@ -1,4 +1,4 @@ -PS1='> ' +PS1='$ ' PATH=$PATH:/sbin:/usr/sbin:~/bin:. PAGER="less -R" EDITOR=vim diff --git a/sxhkdrc b/sxhkdrc @@ -1,5 +1,5 @@ mod4 + Return - urxvt + st mod4 + space export PATH="$PATH:~/b:."; thinglaunch @@ -8,21 +8,22 @@ mod4 + w dwb XF86Mail - urxvt -e mail + st -e mail Menu ~/bin/menu +mod4 + p + ~/bin/link-open $(xsel -o) + mod4 + d - ~/bin/popup $(date "+%A %D - %H:%M") + ~/bin/popup $(date "+%H:%M - %A %d") XF86Audio{Raise,Lower}Volume - ~/bin/volume {+,-}; \ - ~/bin/popup $(volumebar) + ~/bin/volume {+,-} XF86AudioMute - ~/bin/volume !; \ - ~/bin/popup $(volumebar) + ~/bin/volume ! XF86Audio{Play,Stop,Prev,Next,Mute} mpc -h gavroche {toggle,stop,prev,next,pause} @@ -75,10 +76,6 @@ mod4 + shift + {F1,F2,F3,F4,F5} mod4 + BackSpace ~/bin/groaw -d all - -mod4 + !button{1,3} - {wmv,wrs} -a %i %i $(pfw) - mod4 + {t,v} ~/bin/tile {-h,-v} @@ -93,3 +90,13 @@ mod4 + shift + equal mod4 +s mapw -t $(more ~/.scratch) + +# mouse handling +mod4 + !button1 + wmv -a %i %i $(pfw) + +mod4 + @button3 + wrs -a $(wmp) $(pfw) + +mod4 + button{4,5} + chwso -{r,l} $(pfw) diff --git a/theme/rainy.h b/theme/rainy.h @@ -0,0 +1,19 @@ + /* 8 normal colors */ + "#2e2b27", + "#37251f", + "#2b3023", + "#3d3527", + "#282b2d", + "#31282b", + "#22252a", + "#a3a0a1", + + /* 8 bright colors */ + "#42403d", + "#583125", + "#8a8c6d", + "#d4a67d", + "#525d63", + "#514859", + "#a2afb6", + "#f1e8d9", diff --git a/theme/spring b/theme/spring @@ -0,0 +1,19 @@ +*foreground: #eeeeee +*background: #1d1d1d +*cursorColor: #df8ebc +*color0: #333333 +*color1: #aa3366 +*color2: #aa3366 +*color3: #aa3366 +*color4: #aa3366 +*color5: #aa3366 +*color6: #aa3366 +*color7: #aaaaaa +*color8: #666666 +*color9: #df8ebc +*color10: #df8ebc +*color11: #df8ebc +*color12: #df8ebc +*color13: #df8ebc +*color14: #df8ebc +*color15: #ffffff diff --git a/theme/standard.h b/theme/standard.h @@ -0,0 +1,19 @@ +/* 8 standard colors * +"#000000", +"#e92f2f", +"#0ed839", +"#dddd13", +"#3b48e3", +"#f996e2", +"#23edda", +"#ababab", + +/* 8 bright colors */ +"#343434", +"#e92f2f", +"#0ed839", +"#dddd13", +"#3b48e3", +"#f996e2", +"#23edda", +"#f9f9f9" diff --git a/tmux.conf b/tmux.conf @@ -10,7 +10,6 @@ set-option -g prefix C-Space bind-key C-Space send-prefix ## }}} - ## STANDARD OPTIONS {{{ ## Remove Esc-Wait (makes Vi works) set-option -sg escape-time 0 @@ -18,11 +17,10 @@ ## All kind of options set-option -g history-limit 1024 set-option -g bell-action any - set-option -g default-terminal screen-256color + set-option -g default-terminal st-256color set-option -g display-panes-colour red set-option -g message-bg black set-option -g message-fg white - set-option -g mouse-select-pane off set-option -g visual-activity off set-option -g visual-bell off setw -g aggressive-resize on @@ -32,14 +30,9 @@ bind-key C-d detach ## Lock screen - bind-key x lock-server - bind-key C-x lock-server - bind-key -n M-x lock-server set-option -g lock-after-time 0 - set-option -g lock-server on set-option -g lock-command "vlock" ## }}} - ## STATUS BAR {{{ # standard options @@ -58,16 +51,13 @@ # default window title colors set-window-option -g window-status-fg black set-window-option -g window-status-bg default - #set-window-option -g window-status-attr bright - set-window-option -g window-status-format '■' - #set-window-option -g window-status-format ' #W ' + set-window-option -g window-status-format '≡' # active window title colors - set-window-option -g window-status-current-fg cyan + set-window-option -g window-status-current-fg white set-window-option -g window-status-current-bg default - set-window-option -g window-status-current-attr bright - #set-window-option -g window-status-current-format ' #W ' - set-window-option -g window-status-current-format '■' + set-window-option -g window-status-current-attr bright # default, bright, dim + set-window-option -g window-status-current-format '≡' # default pane border color set-option -g pane-border-bg default @@ -78,12 +68,11 @@ set-option -g pane-active-border-fg white # Left / Right status - set-option -g status-left-length 0 # old: 96 + set-option -g status-left-length 32 # old: 96 set-option -g status-right-length 96 # old: 96 - set-option -g status-left "" + set-option -g status-left ":#W" set-option -g status-right "#(~/bin/bar/status.sh -O tmux -F7 -H0 -mbc)" ## }}} - ## KEY MAPPING {{{ ## Move around windows unbind-key c ; bind-key c new-window @@ -129,7 +118,6 @@ ## Copy-mode set-window-option -g mode-keys vi - set-window-option -g mode-mouse off set-option buffer-limit 10 unbind-key C-v ; bind-key C-v copy-mode unbind-key Escape ; bind-key Escape copy-mode diff --git a/xinitrc b/xinitrc @@ -9,12 +9,15 @@ run() { xrdb -load ~/conf/xrdb.conf - sxhkd -c ~/conf/sxhkdrc & + sxhkd -m 1 & - takeoffdir >/dev/null 2>&1 & + compton -cCf -D2 -e 0.4 -o1 -r8 -l-12 -t-1 & + mailbar & + #bars & + #beepop & + takeoffdir & wew | yawee & - compton -cCf -D2 -e 0.4 -o1 -r8 -l-12 -t-1 - #pulse & + #pulse & exec xwait } diff --git a/xrdb.conf b/xrdb.conf @@ -12,16 +12,17 @@ !#include </home/egull/conf/theme/wine> #include </home/egull/conf/theme/woody> +!#define FONT -shdw-candy-medium-r-normal--14-80-120-120-m-90-iso10646-1 !#define FONT xft:Anonymous Pro Minus:size=9 !#define FONT -dylex-terminal-medium-r-normal--20-200-75-75-c-100-iso10646-1 -!#define FONT -dylex-terminal-medium-r-normal--13-120-75-75-c-70-iso10646-1 +#define FONT -dylex-terminal-medium-r-normal--13-120-75-75-c-70-iso10646-1 !#define FONT -windows-codingfonttobi1-medium-r-normal--12-90-96-96-c-70-iso8859-1 !#define FONT -windows-dina-medium-r-normal--10-80-96-96-c-70-microsoft-cp1252 !#define FONT -windows-dina-bold-r-normal--10-80-96-96-c-70-microsoft-cp1252 !#define FONT -nil-profont-medium-r-normal--11-110-72-72-c-60-iso8859-1 !#define FONT -nil-profont-medium-r-normal--12-120-72-72-c-60-iso8859-1 !#define FONT -nil-profont-medium-r-normal--15-150-72-72-c-70-iso8859-1 -#define FONT -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-iso8859-1 +!#define FONT -windows-proggycleansz-medium-r-normal--13-80-96-96-c-70-iso8859-1 !#define FONT -windows-proggysquaresz-medium-r-normal--11-80-96-96-c-70-iso8859-1 !#define FONT -sgi-screen-medium-r-normal--11-110-72-72-m-70-iso8859-1 !#define FONT -sgi-screen-medium-r-normal--12-120-72-72-m-70-iso8859-1 @@ -35,30 +36,30 @@ !#define FONT -ctrld-fixed-medium-r-normal--13-80-96-96-c-80-iso10646-1 !#define FONT -ypn-envypn-medium-r-normal--13-130-75-75-c-90-iso8859-1 !#define FONT -misc-termsynu-medium-r-normal--13-120-75-75-c-60-iso10646-1 -!#define ALFONT -wuncon-siji-medium-r-normal--10-100-75-75-c-80-iso10646-1 +#define ALFONT -misc-stlarch-medium-r-normal--10-100-75-75-c-80-iso10646-1 !*foreground: #bbbbbb !*background: #161616 -*geometry: 80x20 *font: FONT ! rxvt-unicode URxvt*termName: rxvt-256color -gRxvt*loginShell: false -URxvt*saveLines: 1024 -!URxvt*letterSpace: 1 +URxvt*font: FONT,ALFONT +URxvt*geometry: 72x24 +URxvt*loginShell: true +URxvt*saveLines: 4096 +URxvt*letterSpace: 1 URxvt*boldFont: URxvt*scrollBar: false URxvt*cursorBlink: false URxvt*internalBorder: 8 URxvt*perl-ext-common: default,url-select,keyboard-select -URxvt.url-select.launcher: /home/egull/bin/link-open -URxvt.url-select.underline: true -URxvt.keysym.M-u: perl:url-select:select_next -URxvt.keysym.M-v: perl:keyboard-select:activate +URxvt*url-select.launcher: /home/egull/bin/link-open +URxvt*url-select.underline: true +URxvt*keysym.M-u: perl:url-select:select_next +URxvt*keysym.M-v: perl:keyboard-select:activate -xmessage*font: FONT XTerm*geometry: 80x24 ! vim: set fenc=utf-8:ft=xdefaults: