From 45d920c8ec323bf5d91de23bdb49f61c152b1301 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Fri, 12 Apr 2019 23:57:00 -0400 Subject: Lots of unimportant changes happened before this point, that I absolutely will never need a record of. --- bin/brightness.sh | 3 +++ bin/gk | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100755 bin/brightness.sh create mode 100755 bin/gk (limited to 'bin') diff --git a/bin/brightness.sh b/bin/brightness.sh new file mode 100755 index 0000000..c9fa71b --- /dev/null +++ b/bin/brightness.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo $1 | sudo tee /sys/class/backlight/intel_backlight/brightness diff --git a/bin/gk b/bin/gk new file mode 100755 index 0000000..f0886f6 --- /dev/null +++ b/bin/gk @@ -0,0 +1,9 @@ +#!/bin/sh +pkill gpg-agent + +export GPG_TTY="$(tty)" +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpg-connect-agent updatestartuptty /bye + +gpgconf --create-socketdir + -- cgit 1.4.1