summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
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
+