diff --git a/tmux/bin/wifi b/tmux/bin/wifi deleted file mode 100755 index 10aa192..0000000 --- a/tmux/bin/wifi +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -airport_path="/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport" - -if air_info=($(eval "$airport_path" -I | grep -E "^ *(agrCtlRSSI|state|SSID):" | awk '{print $2}')) ; then - rssi=${air_info[0]} - state=${air_info[1]} - ssid=${air_info[2]} - - case "$state" in - "running" ) - signals=(▁ ▂ ▄ ▆ █) - signal="" - rssi_=$(expr 5 - ${rssi} / -20) - for ((i=0; i < $rssi_; i++ )); do - signal="${signal}${signals[$i]}" - done - airport_="${ssid}#[default] ${signal}" - ;; - "init") airport_="#[fg=yellow] ... " ;; - *) airport_="#[fg=red] x " ;; - esac - - echo "#[default]${airport_}#[fg=colour014]#[default] " -fi diff --git a/tmux/linux.conf b/tmux/linux.conf deleted file mode 100644 index 7b16836..0000000 --- a/tmux/linux.conf +++ /dev/null @@ -1 +0,0 @@ -bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xclip -i -sel clip > /dev/null" diff --git a/tmux/mac.conf b/tmux/mac.conf deleted file mode 100644 index 00b5e8b..0000000 --- a/tmux/mac.conf +++ /dev/null @@ -1,6 +0,0 @@ -set-option -g default-command "exec reattach-to-user-namespace -l $SHELL" - -# required: brew install reattach-to-user-namespace -bind-key -T copy-mode-vi v send-keys -X begin-selection -bind-key -T copy-mode-vi y send-keys -X copy-pipe "reattach-to-user-namespace pbcopy" \; send-keys -X clear-selection -bind-key -T copy-mode-vi Enter send-keys -X copy-pipe "reattach-to-user-namespace pbcopy" \; send-keys -X clear-selection