summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-12-06 23:51:26 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-12-06 23:51:26 -0500
commiteee952f56bb3651982832246fca89e54e51d3be4 (patch)
treea3309dcd52d313b97b366ecbf76ccdb21d986050 /.local
parent09c9fb87feed6cc57f318f4662e17b6652714d6d (diff)
add stuff
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/c2
-rwxr-xr-x.local/bin/m7
-rwxr-xr-x.local/bin/state-the-time3
3 files changed, 12 insertions, 0 deletions
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