diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-02-11 18:39:30 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-02-11 18:39:30 -0500 |
commit | f46817b5968d596aaf5afde2a17dff497b819c17 (patch) | |
tree | ccf7216994f6e59c22e868d3a9d991c2b7c3489c /.local/bin | |
parent | 0c56800fc3bdbe8f3965a56f246f165a62ea1d1d (diff) |
misc
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/config-path | 1 | ||||
-rwxr-xr-x | .local/bin/xrotate | 4 |
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() { |