adding conkyrc url
This commit is contained in:
parent
a199fbe249
commit
6291c80311
@ -13,6 +13,7 @@ vimrcurl = "https://raw.github.com/staticsafe/dotfiles/master/.vimrc"
|
|||||||
zshrcurl = "https://raw.github.com/staticsafe/dotfiles/master/.zshrc"
|
zshrcurl = "https://raw.github.com/staticsafe/dotfiles/master/.zshrc"
|
||||||
tmuxurl = "https://raw.github.com/staticsafe/dotfiles/master/.tmux.conf"
|
tmuxurl = "https://raw.github.com/staticsafe/dotfiles/master/.tmux.conf"
|
||||||
vimdirurl = "http://dl.dropbox.com/u/2888062/vimdir.tar.bz2"
|
vimdirurl = "http://dl.dropbox.com/u/2888062/vimdir.tar.bz2"
|
||||||
|
conkyrc = "https://raw.github.com/staticsafe/dotfiles/master/.conkyrc"
|
||||||
envupdate = "https://raw.github.com/staticsafe/dotfiles/master/envupdate.sh"
|
envupdate = "https://raw.github.com/staticsafe/dotfiles/master/envupdate.sh"
|
||||||
|
|
||||||
def sudocheck():
|
def sudocheck():
|
||||||
@ -55,6 +56,7 @@ def checksandactions():
|
|||||||
zshrcdir = os.path.join(os.environ['HOME'], ".zshrc")
|
zshrcdir = os.path.join(os.environ['HOME'], ".zshrc")
|
||||||
tmuxconfdir = os.path.join(os.environ['HOME'], ".tmux.conf")
|
tmuxconfdir = os.path.join(os.environ['HOME'], ".tmux.conf")
|
||||||
vimdir = os.path.join(os.environ['HOME'], ".vim")
|
vimdir = os.path.join(os.environ['HOME'], ".vim")
|
||||||
|
conkydir = os.path.join(os.environ['HOME'], ".conkyrc")
|
||||||
usershell = os.getenv('SHELL')
|
usershell = os.getenv('SHELL')
|
||||||
|
|
||||||
#checks to prevent clobbering
|
#checks to prevent clobbering
|
||||||
@ -79,6 +81,11 @@ def checksandactions():
|
|||||||
urldownload(confurl = vimdirurl)
|
urldownload(confurl = vimdirurl)
|
||||||
untar = call("tar pxvf vimdir.tar.bz2 && rm vimdir.tar.bz2", shell = True)
|
untar = call("tar pxvf vimdir.tar.bz2 && rm vimdir.tar.bz2", shell = True)
|
||||||
|
|
||||||
|
if os.path.isfile(conkydir) == True:
|
||||||
|
print ".conkyrc already exists, skipping download!"
|
||||||
|
else:
|
||||||
|
urldownload(confurl = conkydir)
|
||||||
|
|
||||||
if usershell == "/bin/zsh":
|
if usershell == "/bin/zsh":
|
||||||
print "Your default shell is already zsh! Skipping."
|
print "Your default shell is already zsh! Skipping."
|
||||||
else:
|
else:
|
||||||
@ -89,6 +96,7 @@ def checksandactions():
|
|||||||
#Downloads environment update script
|
#Downloads environment update script
|
||||||
urldownload(confurl = envupdate)
|
urldownload(confurl = envupdate)
|
||||||
scriptperm = call("chmod a+x envupdate.sh", shell = True)
|
scriptperm = call("chmod a+x envupdate.sh", shell = True)
|
||||||
|
|
||||||
def envArch():
|
def envArch():
|
||||||
sudocheck()
|
sudocheck()
|
||||||
#Install relevant packages
|
#Install relevant packages
|
||||||
|
@ -13,11 +13,12 @@ cd
|
|||||||
|
|
||||||
# Update all the conf files here
|
# Update all the conf files here
|
||||||
printf '%s\n' "Updating dotfiles now!"
|
printf '%s\n' "Updating dotfiles now!"
|
||||||
wget --no-check-certificate -O .zshrc https://raw.github.com/staticsafe/dotfiles/master/.zshrc
|
wget --no-check-certificate -O .zshrc https://raw.github.com/staticsafe/dotfiles/master/.zshrc || die 'Download failed!'
|
||||||
wget --no-check-certificate -O .vimrc https://raw.github.com/staticsafe/dotfiles/master/.vimrc
|
wget --no-check-certificate -O .vimrc https://raw.github.com/staticsafe/dotfiles/master/.vimrc || die 'Download failed!'
|
||||||
wget --no-check-certificate -O .tmux.conf https://raw.github.com/staticsafe/dotfiles/master/.tmux.conf
|
wget --no-check-certificate -O .tmux.conf https://raw.github.com/staticsafe/dotfiles/master/.tmux.conf || die 'Download failed!'
|
||||||
|
wget --no-check-certificate -O .conkyrc https://raw.github.com/staticsafe/dotfiles/master/.conkyrc || die 'Download failed!'
|
||||||
|
|
||||||
# vim dir
|
# vim dir
|
||||||
rm -r ~/.vim
|
rm -r ~/.vim
|
||||||
wget -O vimdir.tar.bz2 http://dl.dropbox.com/u/2888062/vimdir.tar.bz2
|
wget -O vimdir.tar.bz2 http://dl.dropbox.com/u/2888062/vimdir.tar.bz2 || die 'Download failed!'
|
||||||
tar xjvf vimdir.tar.bz2
|
tar xjvf vimdir.tar.bz2
|
Loading…
Reference in New Issue
Block a user