]> apps.delaporte.us Git - dotfiles.git/blob - invoke/setup-linux/tasks.py
Add simple style sheet for assignments pdf
[dotfiles.git] / invoke / setup-linux / tasks.py
1 from invoke import task
2
3 import os
4
5 HOME = os.path.expanduser('~')
6
7 @task()
8 def defaults(c):
9 c.run('update-alternatives --config gnome-www-browser')
10
11 DOTFILES=f'{HOME}/dotfiles'
12
13 @task
14 def setup_vi(c):
15 c.run(f'ln -s {DOTFILES}/files/vimrc {HOME}/.vimrc')
16 c.run(f'ls -al {HOME} | grep vimrc')
17
18 @task
19 def install_librewolf(c):
20 c.run(f'$HOME/dotfiles/install/librewolf.sh')
21
22 @task(install_librewolf, setup_vi)
23 def bare_minimum(c):
24 pass
25
26 @task
27 def ssh_key(c):
28 # c.run(f'ssh-keygen')
29 c.run(f'librewolf https://codeberg.org/user/settings/keys', asynchronous=True)
30 c.run(f'cat $HOME/.ssh/*.pub')
31
32 @task
33 def screen(c):
34 c.run(f'sudo apt-get install screen -y')
35 c.run(f'$HOME/dotfiles/setup/screen.sh')
36
37
38