From 0ea2bf8d79a6f61ef3f1daa924020deec05a65aa Mon Sep 17 00:00:00 2001 From: Vasil Zlatanov Date: Wed, 10 Jun 2015 23:12:05 +0200 Subject: random --- Xdefaults | 2 +- bash_aliases | 5 ++--- config/sxhkd/sxhkdrc | 6 +++++- muttrc | 7 +++++-- rtorrent.rc | 4 ++-- tools/panel/panel | 2 +- vimrc | 5 ++++- xinitrc | 9 +++++---- zshrc | 11 ++++++----- 9 files changed, 31 insertions(+), 20 deletions(-) diff --git a/Xdefaults b/Xdefaults index 07cea3e..8130535 100644 --- a/Xdefaults +++ b/Xdefaults @@ -55,5 +55,5 @@ URxvt.keysym.M-s: perl:keyboard-select:search ! M-u to select open copy links !URxvt.perl-ext-common: ...,url-select URxvt.keysym.M-u: perl:url-select:select_next -URxvt.url-select.launcher: /home/vasko/.ratpoison/firesend +URxvt.url-select.launcher: /home/vasko/.tools/firesend diff --git a/bash_aliases b/bash_aliases index c402104..ddc2521 100644 --- a/bash_aliases +++ b/bash_aliases @@ -1,7 +1,5 @@ -#lsblk to list all partitions #module for mouse is bcm5974 # pacat /dev/urandom > padsp -# to enable disable services sudo update-rc.d apache2 disable # for volume over 150: pactl set-sink-volume 0 150% (or volume 150%) #if you wanna change timezone just copy one of /usr/share/zoneinfo/place to /etc/localtime # awesome perl echo 'one two three'| perl -lne 'print $1 if /one(.*)three/' @@ -82,7 +80,8 @@ alias scrschool='$HOME/.ratpoison/screen_run school' # Switch layouts alias qwerty='setxkbmap us' alias bgkey='setxkbmap bg' -alias colemak='setxkbmap us -variant colemak' +alias colemak='setxkbmap uc -variant colemak && xset r 64 && xset r rate 170 60' +alias extmak='setxkbmap us4 -variant colemak && xset r 64 && xset r rate 170 60' alias svenmak='setxkbmap us2 -variant colemak' alias ansi='setxkbmap us3 -variant colemak' diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index 2172a76..7e592a4 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -178,6 +178,10 @@ grave ; P grave; g exec ~/bin/safeimg + +grave; L + exec ~/bin/safelink + # # music control # @@ -243,7 +247,7 @@ grave ; T # Mail reload super + m - offlineimap -o + mbsync -a # make sxhkd reload its configuration files: grave ; Escape diff --git a/muttrc b/muttrc index c7d9b2b..3b82f72 100644 --- a/muttrc +++ b/muttrc @@ -11,7 +11,7 @@ set mbox_type = Maildir set sendmail = /usr/bin/msmtp set folder = ~/.mail/ -set spoolfile = "+dove/INBOX" +set spoolfile = "+dove/Inbox" set mbox = "+dove/Archive" set postponed = "+dove/Drafts" set record = "+dove/Sent" @@ -74,7 +74,7 @@ ignore x-alt-email x-orcpt company division x-warning # Gmail-style keyboard shortcuts -macro index,pager gi "=dove/INBOX" "Go to inbox" +macro index,pager gi "=dove/Inbox" "Go to inbox" macro index,pager ga "=dove/Archive" "Go to all mail" macro index,pager gs "=dove/Sent" "Go to sent mail" macro index,pager gj "=dove/Spam" "Go to spam" @@ -110,6 +110,9 @@ bind index R group-reply # Write in Aliases when opening email set display_filter='$HOME/.mutt/alias.sh' +# Remove + on wraps +unset markers + # Mutt LED notification set status_format="$HOME/.mutt/notify.sh '%r %f (%L) [Msgs:%?M?%M/?%m%?n? New:%n?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?]'|" diff --git a/rtorrent.rc b/rtorrent.rc index f621ddc..58101dc 100755 --- a/rtorrent.rc +++ b/rtorrent.rc @@ -81,8 +81,8 @@ encryption = require,allow_incoming,require_RC4 # "auto" (start and stop DHT as needed), or "on" (start DHT immediately). # The default is "off". For DHT to work, a session directory must be defined. # -# dht = auto -dht = off + dht = auto +#dht = off # UDP port to use for DHT. # diff --git a/tools/panel/panel b/tools/panel/panel index 39d8e1a..a9e5567 100755 --- a/tools/panel/panel +++ b/tools/panel/panel @@ -20,7 +20,7 @@ clock -i 60 -sf 'Z%d %a %H:%M' > "$PANEL_FIFO" & source ./panel_colors -cat "$PANEL_FIFO" | ./panel_bar | bar -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" & +cat "$PANEL_FIFO" | ./panel_bar | lemonbar -g x$PANEL_HEIGHT -f "$PANEL_FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" & sleep 1; stalonetray --geometry 4x1-1+1 --icon-gravity E --grow-gravity E -bg $COLOR0 -i 18 & diff --git a/vimrc b/vimrc index 286d4f6..4971e3a 100644 --- a/vimrc +++ b/vimrc @@ -101,7 +101,7 @@ nnoremap j gj nnoremap k gk "set leader to comma -let mapleader = "," +let mapleader = "\" "Math with qalc @@ -127,4 +127,7 @@ set clipboard^=unnamed set undodir=~/.vim/undodir// +"Open new file +nnoremap o :CtrlP +nnoremap w :w diff --git a/xinitrc b/xinitrc index 01899d4..c41274e 100755 --- a/xinitrc +++ b/xinitrc @@ -23,9 +23,9 @@ if [ -d /etc/X11/xinit/xinitrc.d ]; then unset f fi -# Make C-v always insert selection -autocutsel -fork & -autocutsel -selection PRIMARY -fork & +# Make C-v always insert selection (disabled due to too much cpu wakepus) +#autocutsel -fork & +#autocutsel -selection PRIMARY -fork & # give cursor xsetroot -cursor_name left_ptr @@ -134,7 +134,8 @@ fi # workspace 3 : newsbeuter if [ $run_everything = true -o $run_workspace = 3 ]; then $workspace ^2 - $xtoolwait $term newsbeuter +# Memory leak in newsbeuter +# $xtoolwait $term newsbeuter fi # workspace 4 : admin workspace diff --git a/zshrc b/zshrc index 7c8218f..455185b 100644 --- a/zshrc +++ b/zshrc @@ -1,7 +1,7 @@ # Lines configured by zsh-newuser-install HISTFILE=~/.histfile -HISTSIZE=1000 -SAVEHIST=1000 +HISTSIZE=10000 +SAVEHIST=10000 setopt appendhistory autocd extendedglob correct unsetopt beep bindkey -v @@ -19,13 +19,12 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' \ source ~/.bash_aliases -export PS1='%n@%m:%~%% ' +#export PS1='%n@%m:%~%% ' export GPGKEY="895134C5" -export PATH="$HOME/bin:$HOME/bin/perl6:$PATH" +export PATH="$HOME/bin:$PATH" export EDITOR="vim" export BROWSER="~/.ratposon/firesend" -export PENTADACTYL_RUNTIME="$HOME/.pentadactyl" export LD_LIBRARY_PATH=/usr/local/lib export wiki_browser='firefox' @@ -33,5 +32,7 @@ PROMPT="%{$fg_no_bold[yellow]%}%1~ %{$reset_color%}☢ " RPROMPT="[%{$fg_no_bold[yellow]%}%?%{$reset_color%}]" + #fortune -s | cowsay -f $(ls /usr/share/cows/ | shuf -n1) archey3 + -- cgit v1.2.3-54-g00ecf