from invoke import task

import os

HOME = os.path.expanduser('~')

@task()
def defaults(c):
    c.run('update-alternatives --config gnome-www-browser')

DOTFILES=f'{HOME}/dotfiles'

@task
def setup_vi(c):
    c.run(f'ln -s {DOTFILES}/files/vimrc {HOME}/.vimrc')
    c.run(f'ls -al {HOME} | grep vimrc')

@task
def install_librewolf(c):
		c.run(f'$HOME/dotfiles/install/librewolf.sh')
