summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-02-11 18:39:30 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-02-11 18:39:30 -0500
commitf46817b5968d596aaf5afde2a17dff497b819c17 (patch)
treeccf7216994f6e59c22e868d3a9d991c2b7c3489c /.local
parent0c56800fc3bdbe8f3965a56f246f165a62ea1d1d (diff)
misc
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/config-path1
-rwxr-xr-x.local/bin/xrotate4
2 files changed, 4 insertions, 1 deletions
diff --git a/.local/bin/config-path b/.local/bin/config-path
index 4b7cccb..1894fba 100755
--- a/.local/bin/config-path
+++ b/.local/bin/config-path
@@ -9,6 +9,7 @@ prefixes=(
"$HOME/.prefix"
"$HOME"/.gem/ruby/*
"$HOME"/.npm-prefix
+ "$HOME"/go
)
in_array() {
diff --git a/.local/bin/xrotate b/.local/bin/xrotate
index 55b4e88..c7d9f0d 100755
--- a/.local/bin/xrotate
+++ b/.local/bin/xrotate
@@ -4,7 +4,9 @@
type xrandr &>/dev/null && modules+=(xrandr)
xrandr.get() {
- xrandr --query --verbose|awk -v OFS=$'\t' '/ connected /{print "xrandr", $1, $5}'
+ # FIXME: I don't think simple column counting is reliable.
+ # I'll have to study the exact output format.
+ xrandr --query --verbose|awk -v OFS=$'\t' '/ connected /{print "xrandr", $1, $6}'
}
xrandr.set() {