Improved i3config, sync.sh -d now automatically syncs server.txt then desktop.txt. Added many features to k.

This commit is contained in:
Austen Adler 2014-08-18 18:06:49 -06:00
parent d84e504586
commit 9279574e74
5 changed files with 47 additions and 46 deletions

View File

@ -4,71 +4,48 @@
#synapse
synaptic
#python3.2
python-pip
python-glade2
#pip install twisted argparse pygments
vim
meld
compiz-plugins-extra
compizconfig-settings-manager
audacity
vlc
gimp
cups-pdf
filezilla
ntp
screen
tmux
subversion
git
orpie
terminator
#ffmpeg
winff
youtube-dl
tasksel
#tasksel install lamp-server
php5-json
php5-gd
php-soap
bum
cplay
openssh-server
alien
ubuntu-restricted-extras
lynx-cur
unzip
#openjdk7-jre
curl
wget
kdenlive
gparted
trash-cli
pidgin
diodon
orpie
mysql-workbench
synergy
wireshark
cplay
shutter
wine
sshfs
gtk-redshift
lm-sensors
unetbootin
openvpn
autojump
cairo-dock
owncloud-client
#clemetine
exiv2
xdotool
htop
nload
sox
libsox-fmt-mp3
multitail
wicd-daemon
firefox
thunderbird
midori
ark
thunar
okular
k3b
baobab
libreoffice
libreoffice-templates
kvpnc
#IN STARTUP ITEMS: gtk-redshift -l 36.3:-80.3 -t 6500:4000
#FOR CAFFEINE sudo add-apt-repository ppa:caffeine-developers/ppa
#caffeine

View File

@ -9,8 +9,10 @@ exec xautolock -time 3 -locker 'i3lock -i ~/.i3/wall.png; sleep 60; pgrep i3lock
#startup
exec --no-startup-id i3-msg 'workspace 10; exec /home/stonewareslord/xmodmap.sh&/usr/bin/owncloud&/usr/bin/redshift t -l 36.3:-80.3 -t 6500:4000&wicd-gtk&'
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox'
exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/konsole -e wemux'
exec --no-startup-id i3-msg 'workspace 10; exec /home/stonewareslord/applications/Telegram/Telegram&'
exec --no-startup-id i3-msg 'workspace 2; exec /usr/bin/firefox&'
exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/konsole -e wemux&'
exec --no-startup-id nitrogen --restore
#colors
# color defines for zenburn styled i3
@ -194,7 +196,7 @@ bindsym $mod+Shift+r reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+grave exec "i3lock -i ~/.i3/wall.png; sleep 60; pgrep i3lock && xset dpms force off"
#
bindsym $mod+Shift+grave exec "i3lock -i ~/.i3/wall.png; dbus-send --system --print-reply --dest=\"org.freedesktop.UPower\" /org/freedesktop/UPower org.freedesktop.UPower.Suspend"
bindsym $mod+Shift+grave exec "gksu pm-suspend; i3lock -i ~/.i3/wall.png"
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+q restart
# exit i3 (logs you out of your X session)

View File

@ -1,6 +1,9 @@
tasksel
#tasksel install lamp-server
php5-gd
php5-curl
php-soap
bum
openssh-server
lynx-cur
unzip
@ -8,11 +11,10 @@ curl
wget
parted
finch
sshfs
php5-json
php5-gd
orpie
libpython2.6
#libpython2.6
python-simplejson
vim
python-pip
@ -24,7 +26,9 @@ screen
tmux
git
subversion
ffmpeg
#ffmpeg
sshfs
wine
bum
alien
lynx-cur
@ -35,3 +39,10 @@ nload
sox
libsox-fmt-mp3
multitail
zsh
cups-pdf
youtube-dl
trash-cli
irssi
mutt
gdebi

View File

@ -45,8 +45,8 @@ while getopts ":hbsdtclw" VALUE "$@"; do
if [ "$VALUE" = "d" ] ; then
echo "Installing desktop applications"
if [ "$(uname)" != "Darwin" ]; then
echo $(grep -vE "^\s*#" desktop.txt | tr "\n" " ")
sudo apt-get install $(grep -vE "^\s*#" desktop.txt | tr "\n" " ")
echo $(grep -vE "^\s*#" server.txt | tr "\n" " ") $(grep -vE "^\s*#" desktop.txt | tr "\n" " ")
sudo apt-get install $(grep -vE "^\s*#" server.txt | tr "\n" " ") $(grep -vE "^\s*#" desktop.txt | tr "\n" " ")
else
brew install autojump ncdu htop vim youtube-dl tree sshfs ircii imagemagick node ffmpeg wget lua libconfig readline meld
fi

15
zshrc
View File

@ -192,10 +192,21 @@ function k(){
*) vim $1
esac
else
echo -n "Create? "
echo -n "Exec: "
read a
if [ ! -z $a ] ; then
if [[ $a == "d" ]] ; then
mkdir $@
elif [[ $a == "c" ]] ; then
mkdir $@
cd $@
elif [[ $a == "y" ]] ; then
vim "$@"
elif [[ $a == "f" ]] ; then
firefox "$@"
elif [[ $a == "x" ]] ; then
rm "$@"
elif [[ $a == "xd" ]] ; then
rmdir "$@"
fi
fi
}