summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-04-12 23:57:00 -0400
committerBen Morrison <ben@gbmor.dev>2020-04-25 00:39:30 -0400
commit45d920c8ec323bf5d91de23bdb49f61c152b1301 (patch)
tree0bea7db6494a2803dfe18d02dbdeb2eec9811b9b /bin
downloaddogfiles-45d920c8ec323bf5d91de23bdb49f61c152b1301.tar.gz
Lots of unimportant changes happened before this
point, that I absolutely will never need a record of.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/brightness.sh3
-rwxr-xr-xbin/gk9
2 files changed, 12 insertions, 0 deletions
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
+