This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.README.md

32 lines
987 B
Markdown
Raw Normal View History

2023-10-17 21:04:51 +03:00
# Custom system config.
2023-10-31 21:58:15 +03:00
2023-11-15 20:30:20 +03:00
This is my own custom config that I use on my GNU/Linux machines. Not meant to be used by anyone else.
2023-12-07 04:02:47 +03:00
For references, go to the [doc directory](.doc).
2023-12-07 02:16:25 +03:00
2023-10-31 21:36:17 +03:00
# Bootstrap.
2023-10-31 21:50:48 +03:00
**CAREFUL!** This will overwrite files with the same name in your home directory!
```text
2023-10-31 21:53:14 +03:00
curl -s https://git.voronind.com/voronind/linux/raw/branch/master/.bootstrap.sh | bash && source .bashrc
2023-10-31 21:36:17 +03:00
```
2023-10-17 21:04:51 +03:00
# Load Gnome settings.
2023-10-17 21:04:51 +03:00
To load Gnome settings run `dconf_load`.
2023-12-17 20:08:31 +03:00
# Conventions.
2023-12-17 21:35:02 +03:00
## File namings.
2023-12-17 20:08:31 +03:00
Directory names are `snake_case` so you don't have to release the Shift key 10 times per second when tabing deep for directory.
2023-12-17 21:35:02 +03:00
File names are `PascalCase` to differ from directories, also it works nice with things like my archives where underscore and dash separate extra file data.
## Bash scripting.
### Variable names.
Use `SNAKE_CASE_UPPERCASE` for global vars *(careful!)* and `snake_case` for function local vars. For private vars and functions append upperscode like this: `_foo`.