From c7641efe619db14dc86acad4194880a06ff96276 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 24 Jul 2022 13:39:02 +0300 Subject: [PATCH] making features more self-contained.... Signed-off-by: Alex A. Naanou --- post-install | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/post-install b/post-install index 99abf85..552ec95 100644 --- a/post-install +++ b/post-install @@ -66,6 +66,9 @@ FEATURES=( start-services start-user-services + bashctrl + syncthing + # these can depend on some services like syncthing... user-link user-copy @@ -111,7 +114,7 @@ PKG_DNF=( gparted gdisk testdisk # networking... - cronie syncthing tor obfs4 + cronie tor obfs4 youtube-dl qbittorrent # tools... @@ -180,7 +183,6 @@ SERVICES_START=( ) SERVICES_USER_START=( - syncthing ) @@ -209,18 +211,17 @@ ALL_FEATURES=( snap npm - #keyd - start-services # user.. + dir + syncthing + bashctrl user-link user-copy - #syncthing - start-user-services # keep this last... @@ -299,6 +300,7 @@ function feature-start-user-services(){ # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - function feature-keyd(){ ( + @ mkdir -p ~/work/EXTERNAL @ cd ~/work/EXTERNAL @ git clone https://github.com/rvaiya/keyd @ cd keyd @@ -313,11 +315,12 @@ function feature-keyd(){ ( # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -function feature-bash(){ ( +function feature-bashctrl(){ ( + @ mkdir -p ~/work/ @ cd ~/work/ @ git clone git@github.com:flynx/bashctrl @ cd bashctrl - @ ./bashctrl -y setup \ + @ ./bashctrl -y setup ) } @@ -351,6 +354,10 @@ function feature-gnome(){ # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - function feature-syncthing(){ + @ mkdir -p ~/Sync/ALL + @ sudo dnf install syncthing + @ sudo systemctl --user enable --now syncthing + #@ sudo systemctl --user start syncthing # XXX can we do this from CLI??? # need to: # - link device