add README.md
This commit is contained in:
commit
ab1102ef55
1 file changed
+46
@@ -0,0 +1,46 @@
|
||||
# hypr-dotfiles
|
||||
|
||||
User-owned config files for my Hyprland (HyDE Project) setups on Arch Linux.
|
||||
|
||||
Only files that **I** own are tracked here — HyDE-managed files (everything under
|
||||
`~/.local/share/hypr/`, waybar's `style.css`/`theme.css`, etc.) are regenerated
|
||||
by HyDE on every update and are deliberately NOT tracked.
|
||||
|
||||
## Layout
|
||||
|
||||
The `config/` directory mirrors `$XDG_CONFIG_HOME`:
|
||||
|
||||
```
|
||||
config/
|
||||
├── hypr/hyprland.lua # HyDE's user override layer (never overwritten by HyDE)
|
||||
├── kitty/kitty.conf # fully user-owned
|
||||
├── waybar/user-style.css # user layer; HyDE owns style.css/theme.css
|
||||
└── hyprlock/hyprlock.conf
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
./collect.sh # machine -> repo: copy current config files into config/
|
||||
./apply.sh # repo -> machine: copy config/ into ~/.config (timestamped .bak first)
|
||||
```
|
||||
|
||||
Workflow: edit a file live on one machine, `./collect.sh && git commit`, push.
|
||||
On the other machine: `git pull && ./apply.sh`.
|
||||
|
||||
## Adding a new tracked file
|
||||
|
||||
1. Create the (empty) file at its path under `config/` and commit it — this
|
||||
declares the mapping.
|
||||
2. `./collect.sh` pulls the real content in.
|
||||
|
||||
Only files that already exist in `config/` are collected/applied, so nothing
|
||||
gets tracked by accident.
|
||||
|
||||
## Notes
|
||||
|
||||
- `hypr/hyprland.lua` is loaded by HyDE last as the override layer. See the
|
||||
comments inside it for the Lua bind syntax (Hyprland 0.56+ Lua configs).
|
||||
- Waybar: only `user-style.css` (and `user-modules/` if ever added) is safe to
|
||||
own; `style.css`/`theme.css` are HyDE-generated.
|
||||
- Public repo: no secrets, ever. Don't add anything containing tokens/passwords.
|
||||
Reference in new issue
Block a user