Compare commits

...

9 Commits

Author SHA1 Message Date
Kendall Whitman
2f0193f173 move proton apps to flatpak 2026-02-18 13:08:17 -06:00
Kendall Whitman
dae7e51cc4 add flatpak app installs 2026-02-18 11:01:51 -06:00
Kendall Whitman
978845ea74 add fprintd 2026-02-08 14:38:59 -06:00
Kendall Whitman
0937aa4e6e fix stow function 2026-02-05 18:10:26 -06:00
Kendall Whitman
b1ad5187f4 update config 2026-02-04 12:04:16 -06:00
Kendall Whitman
d1419177d0 text update 2026-02-04 08:12:29 -06:00
Kendall Whitman
940604658b update app list 2026-02-04 08:08:34 -06:00
Kendall Whitman
65e62cc887 fix condition 2026-02-03 19:13:41 -06:00
Kendall Whitman
b96a80b4f7 update imports 2026-02-03 18:51:08 -06:00
2 changed files with 22 additions and 8 deletions

View File

@@ -8,30 +8,38 @@ DIRECTORIES = [
]
DIRECTORIES_TO_REMOVE = [
'Templates',
'Public',
'Templates',
]
APPS = [
'brave-bin',
'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',
]

View File

@@ -1,12 +1,12 @@
import subprocess
import config
from pathlib import Path
from arch import config
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 == '':
if confirm_link.lower() == "y" or confirm_link.lower() == '':
target_dir = input("Specify the full path to the external storage: ")
def home_dir_item(item):
@@ -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()