Started formatting .txt files. Fixed fvim and dnstest.

This commit is contained in:
Austen Adler 2014-11-22 19:14:54 -05:00
parent 07768574b3
commit dcd1b1bdf9
4 changed files with 28 additions and 41 deletions

View File

@ -3,6 +3,7 @@ bindsym $mod+d exec i3-input -F 'rename workspace to "%s"' -P 'Rename to: '
#exec xrandr --output HDMI3 --left-of HDMI1 & #exec xrandr --output HDMI3 --left-of HDMI1 &
#exec xmodmap ~/.Xmodmap & #exec xmodmap ~/.Xmodmap &
bindsym Print exec "shutter -r"
#Audio #Audio
bindsym XF86AudioRaiseVolume exec "amixer set Master 5%+ unmute" bindsym XF86AudioRaiseVolume exec "amixer set Master 5%+ unmute"
bindsym XF86AudioLowerVolume exec "amixer set Master 5%- unmute" bindsym XF86AudioLowerVolume exec "amixer set Master 5%- unmute"
@ -163,7 +164,7 @@ exec --no-startup-id /home/stonewareslord/xmodmap.sh
exec --no-startup-id i3-msg /usr/bin/redshift t -l 36.3:-80.3 -t 6500:4000 exec --no-startup-id i3-msg /usr/bin/redshift t -l 36.3:-80.3 -t 6500:4000
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox &' exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox &'
exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/xterm &' exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/xterm &'
exec --no-startup-id i3-msg /usr/bin/shutter --min_at_startup exec --no-startup-id /usr/bin/shutter --min_at_startup
exec --no-startup-id /usr/bin/screen -dmS syncthing /home/stonewareslord/Applications/syncthing/syncthing exec --no-startup-id /usr/bin/screen -dmS syncthing /home/stonewareslord/Applications/syncthing/syncthing
exec --no-startup-id /usr/bin/owncloud exec --no-startup-id /usr/bin/owncloud
exec --no-startup-id /usr/bin/nm-applet exec --no-startup-id /usr/bin/nm-applet

View File

@ -8,61 +8,26 @@
#owncloud-client #owncloud-client
synaptic synaptic
python-glade2 python-glade2
meld
compiz-plugins-extra compiz-plugins-extra
compizconfig-settings-manager compizconfig-settings-manager
audacity
vlc
gimp
filezilla
ntp ntp
winff
cplay cplay
ubuntu-restricted-extras ubuntu-restricted-extras
kdenlive
gparted gparted
diodon
mysql-workbench mysql-workbench
synergy
wireshark wireshark
shutter
gtk-redshift
unetbootin unetbootin
exiv2 exiv2
xdotool xdotool
htop htop
#wicd-daemon #wicd-daemon
#wicd-curses #wicd-curses
network-manager
firefox
#thunderbird
midori
ark
thunar
okular
k3b
baobab
libreoffice
libreoffice-templates
kvpnc kvpnc
nitrogen
banshee
xautolock
sqlitebrowser sqlitebrowser
tdfsb
icedtea-7-plugin
lsb lsb
python-tk python-tk
blender
libnotify-bin
xterm
xdm
i3-wm
i3status
i3lock
xinit xinit
suckless-tools suckless-tools
feh
pm-utils pm-utils
alsa-utils alsa-utils
numlockx numlockx
@ -70,5 +35,19 @@ virtualbox
x11vnc x11vnc
xvnc4viewer xvnc4viewer
ntop ntop
gnome-dictionary
powermanagement-interface powermanagement-interface
mpd mpc ncmpcpp
# Standard Desktop Applications
#firefox thunderbird
meld filezilla
audacity vlc gimp winff blender banshee kdenlive
libnotify-bin xterm xdm i3-wm i3status i3lock feh nitrogen xautolock
libreoffice libreoffice-templates gnome-dictionary shutter
diodon synergy
ark thunar okular tdfsb baobab
gtk-redshift
network-manager
midori
k3b
icedtea-7-plugin

View File

@ -13,7 +13,6 @@ unzip
curl curl
wget wget
parted parted
finch
php5-json php5-json
php5-gd php5-gd
orpie orpie
@ -70,3 +69,9 @@ sshuttle
nethogs nethogs
w3m w3m
aircrack-ng aircrack-ng
tshark
secure-delete
encfs
fsniper
cryptsetup
pv

View File

@ -36,6 +36,7 @@ export EDITOR='vim'
if [ "$(uname)" != "Darwin" ]; then if [ "$(uname)" != "Darwin" ]; then
alias ls='ls --color=always -F' alias ls='ls --color=always -F'
fi fi
alias srm='srm -dv'
alias pass='DISPLAY= pass' alias pass='DISPLAY= pass'
alias ehistory='cat ~/.bash_eternal_history|egrep -iP $@' alias ehistory='cat ~/.bash_eternal_history|egrep -iP $@'
alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"' alias bat='upower -i /org/freedesktop/UPower/devices/battery_BAT0| grep -E "state|to\ full|percentage"'
@ -87,7 +88,7 @@ alias echip="curl ifconfig.me"
alias vpn="cd ~/.openvpn;sudo openvpn config.ovpn;cd -" alias vpn="cd ~/.openvpn;sudo openvpn config.ovpn;cd -"
alias to="~/.todo/todo.sh" alias to="~/.todo/todo.sh"
alias stdns="sudo sh -c 'echo \"nameserver 8.8.8.8\\nnameserver 8.8.4.4\" > /etc/resolv.conf'" alias stdns="sudo sh -c 'echo \"nameserver 8.8.8.8\\nnameserver 8.8.4.4\" > /etc/resolv.conf'"
alias fvim="vim -u NONE +\"so ~/.vim/bundle/flappyvird-vim/plugin/flappyvird.vim\" +\"so ~/.vim/bundle/flappyvird-vim/autoload/flappyvird.vim\" +\":FlappyVird\" +\":q\"" alias fvim="vim -u NONE +\"so ~/.vim/plugged/flappyvird-vim/plugin/flappyvird.vim\" +\"so ~/.vim/plugged/flappyvird-vim/autoload/flappyvird.vim\" +\":FlappyVird\" +\":q\""
alias fk='k `fzf --no-mouse -m -1 -x`' alias fk='k `fzf --no-mouse -m -1 -x`'
alias fh='eval $(([ -n "$ZSH_NAME" ] && fc --no-mouse -m -1 -x -l 1 || history) | fzf +s | sed "s/ *[0-9]* *//")' alias fh='eval $(([ -n "$ZSH_NAME" ] && fc --no-mouse -m -1 -x -l 1 || history) | fzf +s | sed "s/ *[0-9]* *//")'
alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}' alias fkill='ps -ef | sed 1d | fzf --no-mouse -m -1 -x | awk "{print $2}" | xargs kill -${1:-9}'
@ -107,12 +108,13 @@ function smon(){
timeout 1s pdsh -R ssh -w 10.0.1.196,10.0.1.207 "$@" timeout 1s pdsh -R ssh -w 10.0.1.196,10.0.1.207 "$@"
} }
function dnstest(){ function dnstest(){
echo "resolv.conf:"
cat /etc/resolv.conf
echo "Testing ping:" echo "Testing ping:"
ping -c 2 8.8.8.8 ping -c 2 8.8.8.8
echo "Testing IP curl:" echo "Testing IP curl:"
curl -k https://98.26.78.121/b/ curl -k https://98.26.78.121/b/
echo "\nresolv.conf:" echo
cat /etc/resolv.conf
echo "Testing DNS" echo "Testing DNS"
curl ifconfig.me curl ifconfig.me
} }