Compare commits
3 Commits
b1ad5187f4
...
dae7e51cc4
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dae7e51cc4 | ||
|
|
978845ea74 | ||
|
|
0937aa4e6e |
@@ -8,13 +8,16 @@ DIRECTORIES = [
|
||||
]
|
||||
|
||||
DIRECTORIES_TO_REMOVE = [
|
||||
'Templates',
|
||||
'Public',
|
||||
'Templates',
|
||||
]
|
||||
|
||||
APPS = [
|
||||
'electrum',
|
||||
'element-desktop',
|
||||
'flatpak',
|
||||
'fprintd',
|
||||
'freecad',
|
||||
'libreoffice-fresh',
|
||||
'librewolf-bin',
|
||||
'neovim-git',
|
||||
@@ -24,9 +27,14 @@ APPS = [
|
||||
'steam',
|
||||
'stow',
|
||||
'tmux',
|
||||
'torbrowser-launcher',
|
||||
'wl-clipboard',
|
||||
]
|
||||
|
||||
FLATPAK_APPS = [
|
||||
'it.mijorus.gearlever',
|
||||
]
|
||||
|
||||
DOTFILES = [
|
||||
'alacritty',
|
||||
'fish',
|
||||
@@ -42,13 +42,19 @@ def install_apps():
|
||||
], check=True)
|
||||
|
||||
|
||||
def install_flatpak_apps():
|
||||
for app in config.FLATPAK_APPS:
|
||||
subprocess.run(['flatpak', 'install', f"{app}"])
|
||||
|
||||
|
||||
def stow_dot_files():
|
||||
for dotfile in config.DOTFILES:
|
||||
subprocess.run(['stow', f"../../{dotfile}", '--adopt'])
|
||||
subprocess.run(['stow', f"{dotfile}", '--adopt'])
|
||||
|
||||
subprocess.run(['git', 'checkout', '--', '.'])
|
||||
|
||||
|
||||
sym_link_dir()
|
||||
install_apps()
|
||||
install_flatpak_apps()
|
||||
stow_dot_files()
|
||||
Reference in New Issue
Block a user