commit 3414ec79b40013cc74d055d44bea7548137d0e9e parent 1a6f243323f8c2be19202d640b896de668edd0f8 Author: mpizzzle <michael.770211@gmail.com> Date: Sat, 27 Jun 2020 09:33:44 +0100 bootleg shell scripts cos I can't be bothered to figure out how things work properly Diffstat:
| A | .local/bin/db.sh | | | 5 | +++++ |
| A | .local/bin/headphones.sh | | | 3 | +++ |
| A | .local/bin/next.sh | | | 3 | +++ |
3 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/.local/bin/db.sh b/.local/bin/db.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +sudo mkdir /run/postgresql/ +sudo chmod 777 /run/postgresql/ +pg_ctl -D ~/.local/db/ start diff --git a/.local/bin/headphones.sh b/.local/bin/headphones.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +amixer -c 0 sset "Headphone" on 100 diff --git a/.local/bin/next.sh b/.local/bin/next.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +psql spanish-dictionary -c "SELECT * FROM dictionary WHERE next_appearance < current_timestamp ORDER BY next_appearance" | grep filas