Compare commits
6 Commits
940604658b
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f0193f173 | ||
|
|
dae7e51cc4 | ||
|
|
978845ea74 | ||
|
|
0937aa4e6e | ||
|
|
b1ad5187f4 | ||
|
|
d1419177d0 |
@@ -8,30 +8,38 @@ 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',
|
||||
'nvim',
|
||||
'rtorrent',
|
||||
'tmux',
|
||||
'tmuxp',
|
||||
]
|
||||
@@ -4,7 +4,7 @@ from pathlib import Path
|
||||
|
||||
|
||||
def sym_link_dir():
|
||||
confirm_link = input("Do you want to link home directories to external storage?(Y/n): ")
|
||||
confirm_link = input("Do you want to link home directories to external storage? (Y/n): ")
|
||||
|
||||
if confirm_link.lower() == "y" or confirm_link.lower() == '':
|
||||
target_dir = input("Specify the full path to the external storage: ")
|
||||
@@ -42,6 +42,11 @@ 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'])
|
||||
@@ -51,4 +56,5 @@ def stow_dot_files():
|
||||
|
||||
sym_link_dir()
|
||||
install_apps()
|
||||
install_flatpak_apps()
|
||||
stow_dot_files()
|
||||
Reference in New Issue
Block a user