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/m7
-rwxr-xr-x.local/bin/state-the-time3
9 files changed, 21 insertions, 1 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 6348873..2e9f3d4 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 | sed -r \
+ acpi -t | sed -r \
-e 's/^([A-Z])[a-z]+ ([0-9]+):/\1\2:/' \
-e 's/\s*degrees\s*/°/g' |
cat -n | while read -r n line; do
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/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