Compare commits
4 Commits
b1ad5187f4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f0193f173 | ||
|
|
dae7e51cc4 | ||
|
|
978845ea74 | ||
|
|
0937aa4e6e |
@@ -8,25 +8,34 @@ DIRECTORIES = [
|
||||
]
|
||||
|
||||
DIRECTORIES_TO_REMOVE = [
|
||||
'Templates',
|
||||
'Public',
|
||||
'Templates',
|
||||
]
|
||||
|
||||
APPS = [
|
||||
'electrum',
|
||||
'element-desktop',
|
||||
'flatpak',
|
||||
'fprintd',
|
||||
'freecad',
|
||||
'libreoffice-fresh',
|
||||
'librewolf-bin',
|
||||
'neovim-git',
|
||||
'proton-mail-bin',
|
||||
'proton-vpn-gtk-app',
|
||||
'rtorrent',
|
||||
'steam',
|
||||
'stow',
|
||||
'tmux',
|
||||
'torbrowser-launcher',
|
||||
'vlc',
|
||||
'wl-clipboard',
|
||||
]
|
||||
|
||||
FLATPAK_APPS = [
|
||||
'it.mijorus.gearlever',
|
||||
'me.proton.Mail',
|
||||
'com.protonvpn.www',
|
||||
]
|
||||
|
||||
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