update file structure
This commit is contained in:
@@ -48,14 +48,15 @@ def install_apps():
|
||||
|
||||
def stow_dot_files():
|
||||
dotfiles_root = Path.home() / '.dotfiles'
|
||||
config_dir = Path.home() / '.config'
|
||||
|
||||
subprocess.run(
|
||||
['stow', '-d', str(dotfiles_root), *config.DOTFILES, '--adopt'],
|
||||
['stow', '-d', str(dotfiles_root), '-t', str(config_dir), '--adopt', 'config'],
|
||||
check=True
|
||||
)
|
||||
|
||||
subprocess.run(
|
||||
['git', 'checkout', '--', *config.DOTFILES],
|
||||
['git', 'checkout', '--', 'config'],
|
||||
cwd=dotfiles_root,
|
||||
check=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user