diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/helloworld.sh | 2 | ||||
-rw-r--r-- | bin/mpc | 38 | ||||
-rwxr-xr-x | bin/scvim-test | 7 | ||||
-rwxr-xr-x | bin/tmux-test | 53 |
4 files changed, 0 insertions, 100 deletions
diff --git a/bin/helloworld.sh b/bin/helloworld.sh deleted file mode 100755 index 7ee4df0..0000000 --- a/bin/helloworld.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -notify-send 'Hello world!' 'This is an example notification.' --icon=dialog-information diff --git a/bin/mpc b/bin/mpc deleted file mode 100644 index cc85fd4..0000000 --- a/bin/mpc +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash -file=/tmp/mpdhost - -if [ -e $file ] -then - mpdhost=$(cat $file) -else - case $(hostname) in - "dvzrv") - mpdhost=dvzrv - ;; - *) - mpdhost=homey - ;; - esac -fi - -case $1 in - "switch") - case "$mpdhost" in - "dvzrv") - mpdhost=homey - ;; - *) - mpdhost=dvzrv - ;; - esac - echo $mpdhost > $file - echo switched to $mpdhost - shift - ;; - "host") - echo $mpdhost - exit 0 - ;; -esac - -/usr/bin/mpc -h $mpdhost "$@" diff --git a/bin/scvim-test b/bin/scvim-test deleted file mode 100755 index fc3d18b..0000000 --- a/bin/scvim-test +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/sh - -tmux new-session -d -s SuperCollider -A -tmux split-window -t SuperCollider:1 -h -p 25 -tmux send-keys -t SuperCollider:1.1 dmesg C-m -tmux att -t SuperCollider - diff --git a/bin/tmux-test b/bin/tmux-test deleted file mode 100755 index ba0e5c6..0000000 --- a/bin/tmux-test +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash - -###this is going to split the pane into four -###even horizontal panes -tmux split-window -v -sleep 1 -tmux send-keys -t 0 "clear" C-m -tmux select-pane -t 0 - -tmux split-window -v -sleep 1 -tmux select-pane -t 3 - -tmux split-window -v -sleep 1 -tmux select-pane -t 5 - -tmux split-window -v -tmux select-layout even-vertical - - -###this will split each of the four panes -###vertically, resulting in eight seperate -###panes - -for i in 0 2 4 6 -do -tmux select-pane -t $i -tmux split-window -h -sleep 1 -done - - -#this goes to each pane and sends a command, in this case - just identifies the pane. - -tmux select-pane -t 0 -tmux send-keys -t 0 "This is pane 0" C-m -tmux select-pane -t 1 -tmux send-keys -t 1 "This is pane 1" C-m -tmux select-pane -t 2 -tmux send-keys -t 2 "This is pane 2" C-m -tmux select-pane -t 3 -tmux send-keys -t 3 echo "This is pane 3" C-m -tmux select-pane -t 4 -tmux send-keys -t 4 "This is pane 4" C-m -tmux select-pane -t 5 -tmux send-keys -t 5 "This is pane 5" C-m -tmux select-pane -t 6 -tmux send-keys -t 6 "This is pane 6" C-m -tmux select-pane -t 7 -tmux send-keys -t 7 "This is pane 7" C-m -tmux select-pane -t 8 -tmux send-keys -t 8 "This is pane 8" C-m |