From 1610fce59a2cf8f02bc9d89b6eb2b5312aad0226 Mon Sep 17 00:00:00 2001 From: Ian Foster Date: Sat, 18 Jan 2014 20:45:08 -0800 Subject: [PATCH] scripts link to ~/bin --- link.sh | 7 +++++-- scripts/awmtt | 2 +- scripts/pinhole.py | 2 +- scripts/touchpad.sh | 1 + 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/link.sh b/link.sh index 91a4517..3c099d9 100755 --- a/link.sh +++ b/link.sh @@ -107,8 +107,11 @@ function sublime { } function scripts { - #DO NOTHING - echo "Skipping scripts" + echo "Linking scripts" + for script in $cwd/scripts/* + do + link $script ~/bin/$(basename $script) + done } function run { diff --git a/scripts/awmtt b/scripts/awmtt index e068dc8..0d8fad5 100755 --- a/scripts/awmtt +++ b/scripts/awmtt @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/env bash # awmtt: awesomewm testing tool #{{{ Usage diff --git a/scripts/pinhole.py b/scripts/pinhole.py index a11ae7a..a8ad45f 100755 --- a/scripts/pinhole.py +++ b/scripts/pinhole.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#!/usr/bin/env python """ usage 'pinhole port host [newport]' diff --git a/scripts/touchpad.sh b/scripts/touchpad.sh index 78b785d..5934106 100755 --- a/scripts/touchpad.sh +++ b/scripts/touchpad.sh @@ -1,3 +1,4 @@ +#!/usr/bin/env bash ## Detect and configure touchpad. See 'man synclient' for more info. if egrep -iq 'touchpad' /proc/bus/input/devices; then synclient VertEdgeScroll=0 -- 1.9.1