Compare commits
4 Commits
b1ad5187f4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f0193f173 | ||
|
|
dae7e51cc4 | ||
|
|
978845ea74 | ||
|
|
0937aa4e6e |
@@ -8,25 +8,34 @@ DIRECTORIES = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
DIRECTORIES_TO_REMOVE = [
|
DIRECTORIES_TO_REMOVE = [
|
||||||
'Templates',
|
|
||||||
'Public',
|
'Public',
|
||||||
|
'Templates',
|
||||||
]
|
]
|
||||||
|
|
||||||
APPS = [
|
APPS = [
|
||||||
|
'electrum',
|
||||||
'element-desktop',
|
'element-desktop',
|
||||||
'flatpak',
|
'flatpak',
|
||||||
|
'fprintd',
|
||||||
|
'freecad',
|
||||||
'libreoffice-fresh',
|
'libreoffice-fresh',
|
||||||
'librewolf-bin',
|
'librewolf-bin',
|
||||||
'neovim-git',
|
'neovim-git',
|
||||||
'proton-mail-bin',
|
|
||||||
'proton-vpn-gtk-app',
|
|
||||||
'rtorrent',
|
'rtorrent',
|
||||||
'steam',
|
'steam',
|
||||||
'stow',
|
'stow',
|
||||||
'tmux',
|
'tmux',
|
||||||
|
'torbrowser-launcher',
|
||||||
|
'vlc',
|
||||||
'wl-clipboard',
|
'wl-clipboard',
|
||||||
]
|
]
|
||||||
|
|
||||||
|
FLATPAK_APPS = [
|
||||||
|
'it.mijorus.gearlever',
|
||||||
|
'me.proton.Mail',
|
||||||
|
'com.protonvpn.www',
|
||||||
|
]
|
||||||
|
|
||||||
DOTFILES = [
|
DOTFILES = [
|
||||||
'alacritty',
|
'alacritty',
|
||||||
'fish',
|
'fish',
|
||||||
@@ -42,13 +42,19 @@ def install_apps():
|
|||||||
], check=True)
|
], check=True)
|
||||||
|
|
||||||
|
|
||||||
|
def install_flatpak_apps():
|
||||||
|
for app in config.FLATPAK_APPS:
|
||||||
|
subprocess.run(['flatpak', 'install', f"{app}"])
|
||||||
|
|
||||||
|
|
||||||
def stow_dot_files():
|
def stow_dot_files():
|
||||||
for dotfile in config.DOTFILES:
|
for dotfile in config.DOTFILES:
|
||||||
subprocess.run(['stow', f"../../{dotfile}", '--adopt'])
|
subprocess.run(['stow', f"{dotfile}", '--adopt'])
|
||||||
|
|
||||||
subprocess.run(['git', 'checkout', '--', '.'])
|
subprocess.run(['git', 'checkout', '--', '.'])
|
||||||
|
|
||||||
|
|
||||||
sym_link_dir()
|
sym_link_dir()
|
||||||
install_apps()
|
install_apps()
|
||||||
|
install_flatpak_apps()
|
||||||
stow_dot_files()
|
stow_dot_files()
|
||||||
Reference in New Issue
Block a user