From 50e771d5a174b8d628aa8e67bdfaaac67926b0e6 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Tue, 5 Jul 2011 09:32:11 +0200 Subject: Random wallpaper --- xorg/xinitrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xorg/xinitrc b/xorg/xinitrc index 4fd10ce..432c1b6 100755 --- a/xorg/xinitrc +++ b/xorg/xinitrc @@ -24,9 +24,11 @@ if [ -e /usr/bin/xrandr ]; then fi fi -if [ -e "$WALLPAPER" ] && [ -e /usr/bin/feh ]; then - feh --bg-scale $WALLPAPER -fi +#if [ -e "$WALLPAPER" ] && [ -e /usr/bin/feh ]; then +# feh --bg-scale $WALLPAPER +#fi + +feh --bg-scale ~/media/bilder/wallpaper/$(ls ~/media/bilder/wallpaper/ | sort --random-sort | head -1) if [ -e /usr/bin/xscreensaver ]; then xscreensaver -no-splash & -- cgit v1.2.3 From acd5759c3c886ff3baf80b0fa5b62078c8184def Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Wed, 6 Jul 2011 09:42:15 +0200 Subject: Add clock to terminal --- xorg/xresources | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xorg/xresources b/xorg/xresources index ddddb34..bfb066f 100644 --- a/xorg/xresources +++ b/xorg/xresources @@ -18,9 +18,6 @@ *background: #000000 *foreground: #ffffff - -*foreground: #a0a0a0 -*background: #000000 *color0: #1B1D1E *color8: #505354 *color1: #F92672 @@ -37,3 +34,5 @@ *color14: #899CA1 *color7: #CCCCC6 *color15: #F8F8F2 + +urxvt.perl-ext-common: digital-clock -- cgit v1.2.3 From 90eab413bbb80899e73e957228b5d50b1879149c Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Thu, 14 Jul 2011 11:08:28 +0200 Subject: Remove vim remaps --- vim/vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 0b76b45..6a6a5ae 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -27,7 +27,7 @@ inoremap { {}i inoremap < <>i inoremap " ""i -noremap s h -noremap n k -noremap r j -noremap t l +"noremap s h +"noremap n k +"noremap r j +"noremap t l -- cgit v1.2.3 From e0c4b81c5e50884d6efd173c50758e606797e5f6 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Sun, 24 Jul 2011 23:07:57 +0200 Subject: Remove useless stuff --- xorg/xinitrc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xorg/xinitrc b/xorg/xinitrc index 432c1b6..56460bb 100755 --- a/xorg/xinitrc +++ b/xorg/xinitrc @@ -1,7 +1,6 @@ #!/bin/bash WM='i3' -WALLPAPER='media/bilder/wallpaper/wallpaper.png' setxkbmap de neo setxkbmap -option terminate:ctrl_alt_bksp @@ -24,10 +23,6 @@ if [ -e /usr/bin/xrandr ]; then fi fi -#if [ -e "$WALLPAPER" ] && [ -e /usr/bin/feh ]; then -# feh --bg-scale $WALLPAPER -#fi - feh --bg-scale ~/media/bilder/wallpaper/$(ls ~/media/bilder/wallpaper/ | sort --random-sort | head -1) if [ -e /usr/bin/xscreensaver ]; then -- cgit v1.2.3 From 5409389ea2da11fa311ca2687faafd8b9ef40f46 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Mon, 25 Jul 2011 16:32:55 +0200 Subject: Random wallpaper via script --- bin/randwall | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/randwall diff --git a/bin/randwall b/bin/randwall new file mode 100755 index 0000000..a0bd131 --- /dev/null +++ b/bin/randwall @@ -0,0 +1,3 @@ +#!/bin/bash + +feh --bg-scale ~/media/bilder/wallpaper/$(ls ~/media/bilder/wallpaper/ | sort --random-sort | head -1) -- cgit v1.2.3 From f3830e83e01131ac11135d1e3040d28074cbf894 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Mon, 25 Jul 2011 16:33:09 +0200 Subject: New alias 'unp' --- zsh/zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zsh/zshrc b/zsh/zshrc index d965335..82030e3 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -70,6 +70,7 @@ alias v="vim" alias vi="vim" alias vbm="VBoxManage" alias httpd="python2 -m SimpleHTTPServer" +alias unp="aunpack" alias agu="sudo apt-get update" alias agdu="sudo apt-get dist-upgrade" -- cgit v1.2.3 From eda4284cc4ddf6ea774501c7e78795555fe66bee Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Tue, 26 Jul 2011 17:33:24 +0200 Subject: Add some funny stuff --- zsh/zshrc | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index 82030e3..fc17df0 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -8,6 +8,10 @@ zstyle ':completion:*:kill:*' force-list always zmodload -a zsh/complist complist +if [ -e /usr/share/zsh/plugins/zsh-syntax-highlight/zsh-syntax-highlighting.zsh ]; then + source /usr/share/zsh/plugins/zsh-syntax-highlight/zsh-syntax-highlighting.zsh +fi + setopt nobeep setopt autocd setopt listpacked @@ -36,16 +40,6 @@ HISTFILE=~/.zsh_history autoload -U compinit; compinit autoload zmv -autoload -Uz vcs_info -precmd() { - psvar=() - vcs_info - [[ -n $vcs_info_msg_0_ ]] && psvar[1]="$vcs_info_msg_0_" - - if [ "$(quilt applied 2> /dev/null)" ]; then - psvar[2]="(quilt)" - fi -} alias c="clear" alias ls="ls --color=auto" @@ -140,10 +134,10 @@ vpn() { sudo openvpn --config /etc/openvpn/$1 } -case $TERM in - rxvt*) - precmd () {print -Pn "\e]0;%n@%m: %~\a"} - ;; -esac +#case $TERM in +# rxvt*) +# precmd () {print -Pn "\e]0;%n@%m: %~\a"} +# ;; +#esac cd ~/ -- cgit v1.2.3 From bafb947d05d17d9a7400bfa05b98034850bbac15 Mon Sep 17 00:00:00 2001 From: Stefan Ritter Date: Tue, 26 Jul 2011 17:38:53 +0200 Subject: Add date to prompt --- zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/zshrc b/zsh/zshrc index fc17df0..140ae04 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,4 +1,4 @@ -PROMPT="%~%(1v.%F{green}%1v%f.)%F{red}%2v%f %% " +PROMPT="%F{red}$(date +%H:%M) %F{white}%~%(1v.%F{green}%1v%f.)%F{red}%2v%f %% " umask 077 -- cgit v1.2.3