summaryrefslogtreecommitdiff
path: root/.local/bin
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin')
-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