add flatpak app installs
This commit is contained in:
@@ -13,9 +13,11 @@ DIRECTORIES_TO_REMOVE = [
|
||||
]
|
||||
|
||||
APPS = [
|
||||
'electrum',
|
||||
'element-desktop',
|
||||
'flatpak',
|
||||
'fprintd',
|
||||
'freecad',
|
||||
'libreoffice-fresh',
|
||||
'librewolf-bin',
|
||||
'neovim-git',
|
||||
@@ -25,9 +27,14 @@ APPS = [
|
||||
'steam',
|
||||
'stow',
|
||||
'tmux',
|
||||
'torbrowser-launcher',
|
||||
'wl-clipboard',
|
||||
]
|
||||
|
||||
FLATPAK_APPS = [
|
||||
'it.mijorus.gearlever',
|
||||
]
|
||||
|
||||
DOTFILES = [
|
||||
'alacritty',
|
||||
'fish',
|
||||
|
||||
@@ -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