summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/cron/alarm3
-rw-r--r--.config/cron/offlineimap2
l---------.config/systemd/user/default.target.wants/maildirproc@att.service1
l---------.config/systemd/user/default.target.wants/maildirproc@purdue.service1
l---------.config/systemd/user/default.target.wants/vncserver@:1.service1
-rwxr-xr-x.config/wmii-hg/rbar_acpi2
-rwxr-xr-x.local/bin/c2
-rwxr-xr-x.local/bin/config-path4
-rwxr-xr-x.local/bin/m7
-rwxr-xr-x.local/bin/state-the-time3
10 files changed, 24 insertions, 2 deletions
diff --git a/.config/cron/alarm b/.config/cron/alarm
new file mode 100644
index 0000000..b4e245e
--- /dev/null
+++ b/.config/cron/alarm
@@ -0,0 +1,3 @@
+#m h dom mon dow command
+#49 0 * * * while true; do /home/luke/.local/bin/state-the-time; sleep 1; done
+#30 7 * * * while true; do /home/luke/.local/bin/state-the-time; sleep 1; done
diff --git a/.config/cron/offlineimap b/.config/cron/offlineimap
new file mode 100644
index 0000000..2ba64e9
--- /dev/null
+++ b/.config/cron/offlineimap
@@ -0,0 +1,2 @@
+#m h dom mon dow command
+*/5 * * * * timeout -s 9 30m offlineimap-runner -u quiet
diff --git a/.config/systemd/user/default.target.wants/maildirproc@att.service b/.config/systemd/user/default.target.wants/maildirproc@att.service
new file mode 120000
index 0000000..13e527c
--- /dev/null
+++ b/.config/systemd/user/default.target.wants/maildirproc@att.service
@@ -0,0 +1 @@
+../maildirproc@.service \ No newline at end of file
diff --git a/.config/systemd/user/default.target.wants/maildirproc@purdue.service b/.config/systemd/user/default.target.wants/maildirproc@purdue.service
new file mode 120000
index 0000000..13e527c
--- /dev/null
+++ b/.config/systemd/user/default.target.wants/maildirproc@purdue.service
@@ -0,0 +1 @@
+../maildirproc@.service \ No newline at end of file
diff --git a/.config/systemd/user/default.target.wants/vncserver@:1.service b/.config/systemd/user/default.target.wants/vncserver@:1.service
new file mode 120000
index 0000000..20fe495
--- /dev/null
+++ b/.config/systemd/user/default.target.wants/vncserver@:1.service
@@ -0,0 +1 @@
+../vncserver@.service \ No newline at end of file
diff --git a/.config/wmii-hg/rbar_acpi b/.config/wmii-hg/rbar_acpi
index 6e3e6e5..24742f8 100755
--- a/.config/wmii-hg/rbar_acpi
+++ b/.config/wmii-hg/rbar_acpi
@@ -5,7 +5,7 @@ update() {
setup_trap "${id}.*"
while true; do
- acpi -bt |
+ acpi -t |
sed -r \
-e 's/^([A-Z])[a-z]+ ([0-9]+):/\1\2:/' \
-e 's/\s*degrees\s*/°/g' \
diff --git a/.local/bin/c b/.local/bin/c
new file mode 100755
index 0000000..7342845
--- /dev/null
+++ b/.local/bin/c
@@ -0,0 +1,2 @@
+#!/usr/bin/env bash
+exec xdotool click "${1:-1}"
diff --git a/.local/bin/config-path b/.local/bin/config-path
index 4b7cccb..dcac0e8 100755
--- a/.local/bin/config-path
+++ b/.local/bin/config-path
@@ -52,6 +52,7 @@ main() {
var_init PATH
var_init MANPATH
var_init LD_LIBRARY_PATH
+ var_init PKG_CONFIG_PATH
var_init RUBYLIB
var_init PERL5LIB
@@ -60,13 +61,14 @@ main() {
var_add PATH "$prefix/bin" "$prefix/sbin"
var_add MANPATH "$prefix/share/man"
var_add LD_LIBRARY_PATH "$prefix"/lib{,32,64}
+ var_add PKG_CONFIG_PATH "$prefix"/lib{,32,64}/pkgconfig
var_add RUBYLIB "$prefix"/lib{,32,64}
var_add PERL5LIB "$prefix"/lib{,32,64}/perl5
done
# Finally, print the values
lines=()
- for var in PATH MANPATH LD_LIBRARY_PATH RUBYLIB PERL5LIB; do
+ for var in PATH MANPATH LD_LIBRARY_PATH PKG_CONFIG_PATH RUBYLIB PERL5LIB; do
lines+=("$(var_done "$var")")
done
shopt -s extglob
diff --git a/.local/bin/m b/.local/bin/m
new file mode 100755
index 0000000..9f4b4c6
--- /dev/null
+++ b/.local/bin/m
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+if [[ $# -gt 0 ]]; then
+ exec xdotool mousemove_relative -- "$@"
+else
+ xdotool mousemove_relative -- 1 1
+ xdotool mousemove_relative -- -1 -1
+fi
diff --git a/.local/bin/state-the-time b/.local/bin/state-the-time
new file mode 100755
index 0000000..c41ad96
--- /dev/null
+++ b/.local/bin/state-the-time
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+espeak "It's $(date +%_H:%M|sed 's/:00/ oh clock/')" \ No newline at end of file