diff --git a/README.md b/README.md index 911584b..e950983 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,7 @@ # Workspace -My scripts and configuration. - -Built with multi-user and multi-machine setup in mind (assuming you are in charge). +My scripts and configuration. See [blog post](https://yrz.am/posts/workspace/). - arch-root/ - administrative pc stuff related to hardware, packages, login management, group flow, roaming, etc. - arch-user/ - all the pc session stuff including window management that reflect my preferences as a user. Tiling wm, colemak, minimalism, vi bindings everywhere. -- deb-vps/ -- android/ +- deb-vps/ - docker-based system. No applications yet. diff --git a/arch-user/install.sh b/arch-user/install.sh index ab32f1d..f20dc22 100644 --- a/arch-user/install.sh +++ b/arch-user/install.sh @@ -2,6 +2,11 @@ set -e cd "$(dirname "$0")" umask 002 +[[ "$(id -u)" == "0" ]] && echo "ERROR: wrong user" >&1 && exit 1 + +####### file structure ######### +mkdir -p ~/tmp ~/know ~/scripts ~/dev +################################ ########## scripts ############# cp -rf scripts/* ~/scripts