summaryrefslogtreecommitdiffstats
path: root/.bin/ag-light
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-12-23 18:28:03 +0000
committerRomain Gonçalves <me@rgoncalves.se>2021-12-23 18:28:03 +0000
commit0f08d04698c814955116b6bae50752e64b774d8f (patch)
tree8cf9a33557093eebfd25aab2872e97639c7e2f62 /.bin/ag-light
downloaddots-0f08d04698c814955116b6bae50752e64b774d8f.tar.gz
Thu Dec 23 06:28:03 PM UTC 2021
Diffstat (limited to '.bin/ag-light')
-rwxr-xr-x.bin/ag-light14
1 files changed, 14 insertions, 0 deletions
diff --git a/.bin/ag-light b/.bin/ag-light
new file mode 100755
index 0000000..0d15722
--- /dev/null
+++ b/.bin/ag-light
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+light -N 1
+
+case "${1}" in
+ i*)
+ light -A 10
+ ;;
+ d*)
+ light -U 10
+ ;;
+esac
+
+ag-status &>/dev/null
remember that computers suck.