Permalink
Browse files

Update config files

  • Loading branch information...
1 parent 630d6ef commit 0452fec20a1aa80559b271530b4cf266eefcf50b Aldis Berjoza committed Mar 12, 2013
Showing with 57 additions and 19 deletions.
  1. +2 −0 config/wmscripts/menu.sh
  2. +22 −11 dot.shrc
  3. +33 −8 dot.tmux.conf
View
@@ -106,6 +106,7 @@ selection=`{
app 'opera-next'
app 'chrome'
app 'chrome' 'chrome (private)'
+ app 'mmex' 'moneymanagerex'
app 'urxvt'
app 'vim'
app 'gimp'
@@ -260,6 +261,7 @@ case $selection in
'pause' ) exec deadbeef --pause ;;
'pgadmin' ) exec pgadmin3 ;;
'previous' ) exec deadbeef --prev ;;
+'moneymanagerex' ) exec mmex ;;
'rmsong' ) exec $WMSCRIPTS_DIR/rmCurrentSong.sh ;;
'play' ) PLAY_PATH="`$WMSCRIPTS_DIR/play.sh /files/music`"; [ $? ] && [ "$PLAY_PATH" ] && playd "$PLAY_PATH" rnd && playd playlist ;;
'ru (std)' ) exec setxkbmap ru ;;
View
@@ -32,8 +32,28 @@ for i in 6 7 8 9; do
alias ie${i}="rdesktop -u aldis -p aldis -g 1280x900 vbox.cube.lv:5${i}5${i}"
done
-alias rv='vim --remote-silent'
-alias svim='vim --servername VIM'
+
+
+vim_app="`which vim `"
+if [ $? -eq 0 ]; then
+ vims() {
+ # vim server
+ if [ "$DISPLAY" != "" ]; then
+ vim_opt="-g"
+
+ if [ "$WM" = 'fvwm' ]; then
+ FvwmCommand 'Next ("*VIMS") MoveToDesk'
+ fi
+
+ fi
+
+ if [ "`$vim_app --serverlist`" = '' ]; then
+ $vim_app $vim_opt --servername VIMS $*
+ else
+ $vim_app $vim_opt --servername VIMS --remote $*
+ fi
+ }
+fi
mail -e && echo "You got mail"
@@ -81,14 +101,5 @@ last_num_dir() {
ls | grep -E -e '^[0-9]+/?$' | awk 'BEGIN { L=-1 } { $1=int($1); if ( L < $1 ) L=$1 } END { if ( L >- 1 ) print L }'
}
-vims() {
- # vim server
- list=`vim --serverlist`
- if [ "$list" = '' ]; then
- vim --servername VIMS $*
- else
- vim --servername VIMS --remote $*
- fi
-}
# vim: set ft=sh ts=4 sw=4 :
View
@@ -1,12 +1,22 @@
+set -g base-index 1
+setw -g pane-base-index 1
+
+bind r source-file ~/.tmux.conf \; display "Reloaded!"
+bind C-b send-prefix
+
+#set -g default-terminal "screen-256color"
+
set-option -g prefix C-b
set-option -g default-path .
-set-option -g set-titles on
set-option -g status-keys vi
-set -g mode-mouse on
+
+set -g set-titles on
+set -g set-titles-string "#T"
+
+setw -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
-# set -g base-index 1
# set-window-option -g utf8 on
@@ -16,9 +26,24 @@ bind-key C-s choose-session
bind-key C-w choose-window
bind-key C-k kill-session
-bind-key h select-pane -L
-bind-key l select-pane -R
-bind-key j select-pane -D
-bind-key k select-pane -U
+bind-key j select-pane -L
+bind-key \; select-pane -R
+bind-key k select-pane -D
+bind-key l select-pane -U
+
+set-window-option -g alternate-screen on
+
+
+#set -g status-right "#[fg=brightcyan]%Y.%m.%d %H%m"
+
+#setw -g monitor-activity on
+#set -g visual-activity on
+
+#set -g visual-bell on
+#set -g bell-action any
+#set -g bell-on-alert on
+#set -q quiet on
+
+set -g default-command ''
-set-window-option -g alternate-screen off
+set -g history-limit 4000

0 comments on commit 0452fec

Please sign in to comment.