From a476ea0e65780f52517c66408f6e2baf0823c436 Mon Sep 17 00:00:00 2001 From: Yuri Zamyatin Date: Wed, 1 Jan 2025 01:33:20 +0000 Subject: [PATCH] wip --- README.md | 7 ++----- arch-user/install.sh | 5 +++++ 2 files changed, 7 insertions(+), 5 deletions(-) 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