diff --git a/README.md b/README.md index 451fdfe..d15c4bd 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ switch-theme tekki --- -## Profil wechseln (geteilter PC mit einem Kumpel) +## Profil wechseln (geteilter PC) ```bash # Kumpels Profil einmalig einrichten @@ -90,6 +90,30 @@ switch-theme meinTheme --- +## Eigenes Profil erstellen (für andere Personen) + +Das einfachste ist, dieses Repo als Ausgangspunkt zu forken: + +1. Dieses Repo auf Gitea forken → eigenes Repo anlegen (z.B. `kumpel/dotfiles`) +2. Klonen: + ```bash + git clone https:///kumpel/dotfiles ~/profiles/kumpel + ``` +3. Eigene Configs anpassen — alles in `config/` entspricht 1:1 einem `~/.config/`-Unterordner: + - `config/hypr/hyprland.conf` — eigene Keybindings, Monitor-Setup, etc. + - `config/waybar/config.jsonc` — eigene Leistenseinteilung + - `config/wal/reload.sh` — falls ein anderer Wallpaper-Daemon genutzt wird (z.B. `swww` statt `awww`) +4. Eigene Themes anlegen (oder die vorhandenen anpassen) +5. `packages.txt` auf die eigenen Programme anpassen +6. Installieren: + ```bash + bash ~/profiles/kumpel/install.sh + ``` + +**Hinweis zu den Scripts:** `install.sh` kopiert `switch-profile`, `switch-theme` und `update-profiles` nach `~/.local/bin/`. Diese Scripts sind global — sie gelten für alle Profile auf dem PC, egal welches Profil gerade aktiv ist. Jedes Profil liefert sie mit, damit sie auch auf einem frischen PC ohne zweites Profil verfügbar sind. + +--- + ## Struktur ``` @@ -107,10 +131,10 @@ dotfiles/ │ ├── tekki/ colors.json (grün + pink) │ ├── blue/ colors.json (blau) │ └── red/ colors.json + wallpapers/red.jpg -├── scripts/ +├── scripts/ Globale Scripts → werden von install.sh nach ~/.local/bin/ kopiert │ ├── switch-theme Wechselt Farben/Wallpaper im aktiven Profil -│ ├── switch-profile Wechselt das komplette Profil (alle Configs) -│ └── update-profiles git pull für alle Profile + ggf. Reload +│ ├── switch-profile Wechselt das komplette Profil (alle Configs + hyprctl reload) +│ └── update-profiles git pull für alle Profile + ggf. automatischer Reload ├── packages.txt Benötigte Pakete ├── install.sh Einmalig ausführen um alles einzurichten └── README.md Diese Datei