summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/bash/aliases.sh3
-rw-r--r--.config/cron/offlineimap2
-rwxr-xr-x.config/wmii-hg/autostart19
3 files changed, 15 insertions, 9 deletions
diff --git a/.config/bash/aliases.sh b/.config/bash/aliases.sh
index c9a1987..f59eef9 100644
--- a/.config/bash/aliases.sh
+++ b/.config/bash/aliases.sh
@@ -56,3 +56,6 @@ unset redshift
alias lock="clear; away -C 'This terminal is locked'"
alias plock="term-title Terminal Locked;lock"
mvln() { mv $1 $2; ln -s $2 $1; }
+jarls() { jar tf "$1" | sed -n 's/\.class$//p' | LC_ALL=C sort | xargs -r -d $'\n' javap -classpath "$1"; }
+tarls() { local file; for file in "$@"; do bsdtar tf "$file" | sed "s|^|$file:|"; done; }
+jarmain() { jarls "$1" 2>/dev/null | grep -E '(^[a-z]|public static void main\(java\.lang\.String\[\]\))' | grep -B1 '^ '; }
diff --git a/.config/cron/offlineimap b/.config/cron/offlineimap
new file mode 100644
index 0000000..9de9de1
--- /dev/null
+++ b/.config/cron/offlineimap
@@ -0,0 +1,2 @@
+# m h dom mon dow command
+*/5 * * * * offlineimap-runner 2 -u quiet
diff --git a/.config/wmii-hg/autostart b/.config/wmii-hg/autostart
index cd040b3..cee702a 100755
--- a/.config/wmii-hg/autostart
+++ b/.config/wmii-hg/autostart
@@ -1,13 +1,14 @@
#!/bin/bash
. include.sh
-daemon xcompmgr &> /dev/null
-daemon lxpanel &> /dev/null
-daemon nm-applet &> /dev/null
-daemon dunst &> /dev/null
-daemon clipit -dn &> /dev/null
+xrandr --output VGA-1 --off
-#Action rbar_cpu 01 &
-#Action rbar_wifi 97 &
-#Action rbar_battery 98 &
-Action rbar_clock 99 &
+daemon xcompmgr &> /dev/null
+daemon lxpanel &> /dev/null
+#daemon nm-applet &> /dev/null
+daemon dunst &> /dev/null
+daemon blueman-applet &> /dev/null
+daemon clipit -dn &> /dev/null
+
+#Action rbar_cpu 01 &
+Action rbar_clock 99 &