summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-03-27 22:09:16 +0200
committerGravatar Tom Willemsen2012-03-27 22:09:16 +0200
commit651ab5625df937a39419ddcbf2f1f0e3f5a319e9 (patch)
tree5d22fa80f26491af228bdc4cbb56ebee086f8fc0 /.config
parent904ab2e1e7f20ecdf833110d71e64f574619dbd8 (diff)
parent9c9a34f90dd40740378c46d8dee2d0f671427e47 (diff)
downloaddotfiles-651ab5625df937a39419ddcbf2f1f0e3f5a319e9.tar.gz
dotfiles-651ab5625df937a39419ddcbf2f1f0e3f5a319e9.zip
Merge remote-tracking branch 'github/master' into phoenix
Diffstat (limited to '.config')
-rw-r--r--.config/cower/config2
-rwxr-xr-x.config/herbstluftwm/panel.sh19
-rw-r--r--.config/htop/htoprc23
-rw-r--r--.config/newsbeuter/config4
-rw-r--r--.config/newsbeuter/urls1
5 files changed, 34 insertions, 15 deletions
diff --git a/.config/cower/config b/.config/cower/config
index dfe376b..bd53c0a 100644
--- a/.config/cower/config
+++ b/.config/cower/config
@@ -1,3 +1,3 @@
# -*- eval: (git-auto-commit-mode 1) -*-
Color = always
-TargetDir = /home/slash/var/aur/
+TargetDir = /home/slash/code/aur/
diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh
index 31716b9..b9f0487 100755
--- a/.config/herbstluftwm/panel.sh
+++ b/.config/herbstluftwm/panel.sh
@@ -31,31 +31,24 @@ function print_tags() {
for i in "${TAGS[@]}" ; do
if [[ "${TAGS2[@]}" == *"#${i:1}"* ]]; then
echo -n "^bg($selcolor)^fg(#000000) ${i:1} ^fg()^bg()"
-# echo -n "^fg($selcolor)^ro(${tag_width}x$height)^fg()"
elif [[ "${TAGS2[@]}" == *"+${i:1}"* ]]; then
echo -n "^bg($locolor)^fg(#000000) ${i:1} ^fg()^bg()"
-# echo -n "^fg($locolor)^ro(${tag_width}x$height)^fg()"
else
case ${i:0:1} in
'#')
echo -n "^bg($selcolor)^fg(#000000) ${i:1} ^fg()^bg()"
-# echo -n "^fg($selcolor)^ro(${tag_width}x$height)^fg()"
;;
'+')
echo -n "^bg($locolor)^fg(#000000) ${i:1} ^fg()^bg()"
-# echo -n "^fg($locolor)^ro(${tag_width}x$height)^fg()"
;;
':')
echo -n "^bg($hicolor)^fg(#000000) ${i:1} ^fg()^bg()"
-# echo -n "^fg($hicolor)^ro(${tag_width}x$height)^fg()"
;;
'!')
echo -n "^bg($urcolor)^fg(#000000) ${i:1} ^fg()^bg()"
-# echo -n "^fg($urcolor)^ro(${tag_width}x$height)^fg()"
;;
*)
echo -n "^bg($bgcolor)^fg(#ffffff) ${i:1} ^fg()^bg()"
-# echo -n "^bg()^fg($bgcolor)^ro(${tag_width}x$height)^fg()"
;;
esac
fi
@@ -65,8 +58,12 @@ function print_tags() {
function print_mailboxes() {
declare -A mailnames
- mailboxes=(ninthfloor gmail arch aethon ryuslash.org)
- mailnames=([ninthfloor]="9f" [gmail]="gm" [aethon]="aet" [ryuslash.org]="ryu")
+ mailboxes=(ninthfloor gmail aethon ryuslash.org)
+ mailnames=(
+ [ninthfloor]="9f"
+ [gmail]="gm"
+ [aethon]="aet"
+ [ryuslash.org]="ryu")
mailtxt=""
for j in "${mailboxes[@]}"; do
mailfile="$HOME/documents/mail/$j/inbox/new/"
@@ -80,10 +77,9 @@ function print_mailboxes() {
fi
mailtxt="$mailtxt${separator}^bg($mailcolor)^fg(#ffffff) ${mailnames[$j]} ^fg()^bg()"
-# echo -n "^fg($mailcolor)^ro(${tag_width}x$height)^fg()$separator"
done
mailtxt_only=$(echo -n "$mailtxt" | sed 's.\^[^(]*([^)]*)..g')
- let mailtxt_width=$(textwidth "$font" "$mailtxt_only")+20
+ let mailtxt_width=$(textwidth "$font" "$mailtxt_only")+10
echo -n "^p(_RIGHT)^p(-$mailtxt_width)$mailtxt"
}
@@ -139,7 +135,6 @@ herbstclient pad $monitor2 -5 -5 -5 -5
# find out event origin
case "${cmd[0]}" in
tag*)
- #echo "reseting tags" >&2
TAGS=( $(herbstclient tag_status $monitor) )
TAGS2=( $(herbstclient tag_status $monitor2) )
;;
diff --git a/.config/htop/htoprc b/.config/htop/htoprc
new file mode 100644
index 0000000..7b72477
--- /dev/null
+++ b/.config/htop/htoprc
@@ -0,0 +1,23 @@
+# Beware! This file is rewritten by htop when settings are changed in the interface.
+# The parser is also very primitive, and not human-friendly.
+fields=38 0 48 17 18 38 39 40 2 46 47 49 1
+sort_key=47
+sort_direction=1
+hide_threads=0
+hide_kernel_threads=1
+hide_userland_threads=0
+shadow_other_users=1
+show_thread_names=0
+highlight_base_name=1
+highlight_megabytes=1
+highlight_threads=1
+tree_view=1
+header_margin=1
+detailed_cpu_time=0
+cpu_count_from_zero=0
+color_scheme=0
+delay=15
+left_meters=AllCPUs Memory Swap
+left_meter_modes=1 1 1
+right_meters=Tasks LoadAverage Uptime
+right_meter_modes=2 2 2
diff --git a/.config/newsbeuter/config b/.config/newsbeuter/config
index 4ce2abf..5d50aba 100644
--- a/.config/newsbeuter/config
+++ b/.config/newsbeuter/config
@@ -18,8 +18,8 @@ html-renderer "w3m -dump -T text/HTML -cols 80"
text-width 80
# colors
-#color listfocus black green bold
-#color info white red
+color listfocus default color0 bold
+color info color0 white
# highlight
highlight article "^(Feed|Title|Author|Link|Date):.*" green default bold
diff --git a/.config/newsbeuter/urls b/.config/newsbeuter/urls
index a676986..9f98bf8 100644
--- a/.config/newsbeuter/urls
+++ b/.config/newsbeuter/urls
@@ -76,6 +76,7 @@ http://emacsblog.org/feed/ emacs
http://www.emacswiki.org/emacs?action=rss emacs
http://feeds.feedburner.com/XahsEmacsBlog
http://www.masteringemacs.org/feed/
+http://wikemacs.org/wiki/index.php?title=Special:RecentChanges&feed=atom
#-----[ N900 ]--------------------------------------------------------
http://www.reddit.com/r/n900/.rss n900