122 lines
3.3 KiB
Markdown
122 lines
3.3 KiB
Markdown
# .dotfiles
|
|
|
|
Personlige dotfiles til Fedora KDE, styret med GNU Stow.
|
|
|
|
> For automatisk opsætning af hele systemet inkl. pakker, fonte og ikon-tema — se [ansible-repo'et](https://git.itedb.dk/glennigen/ansible).
|
|
|
|
## Indeks
|
|
|
|
1. [Repo-struktur](#repo-struktur)
|
|
2. [Installation](#installation)
|
|
- [Klon & stow](#klon--stow)
|
|
- [Sæt fish som login-shell](#sæt-fish-som-login-shell)
|
|
3. [Indhold](#indhold)
|
|
- [Fish shell](#fish-shell)
|
|
- [Kitty terminal](#kitty-terminal)
|
|
- [PipeWire](#pipewire)
|
|
- [VSCodium](#vscodium)
|
|
- [OBS Studio](#obs-studio)
|
|
- [Scripts](#scripts)
|
|
|
|
---
|
|
|
|
## Repo-struktur
|
|
|
|
```
|
|
.dotfiles/
|
|
└── stow_me/ ← GNU Stow-pakke (symlinket til ~)
|
|
├── .config/
|
|
│ ├── fish/ ← Fish shell-config, funktioner & completions
|
|
│ ├── kitty/ ← Kitty terminal-config (Catppuccin Macchiato)
|
|
│ ├── pipewire/ ← PipeWire audio (sinks loopback)
|
|
│ └── VSCodium/ ← VSCodium brugerindstillinger
|
|
├── obs-settings/ ← OBS Studio profil- og sceneindstillinger
|
|
└── scripts/ ← Shell-scripts (app_close_and_restart, shutdown)
|
|
```
|
|
|
|
---
|
|
|
|
## Installation
|
|
|
|
### Klon & stow
|
|
|
|
```fish
|
|
git clone https://git.itedb.dk/glennigen/.dotfiles.git ~/.dotfiles
|
|
cd ~/.dotfiles
|
|
stow -d stow_me/ -t ~ .
|
|
```
|
|
|
|
- `-d stow_me/` sætter stow-mappen, `-t ~` sætter målet — intet uden for `stow_me/` røres.
|
|
- Forhåndsvis ændringer med `stow -n -d stow_me/ -t ~ .` inden du kører.
|
|
- Løs eventuelle konflikter inden stow køres (flyt eller slet de eksisterende filer).
|
|
|
|
### Sæt fish som login-shell
|
|
|
|
```fish
|
|
chsh -s (which fish) $USER
|
|
```
|
|
|
|
---
|
|
|
|
## Indhold
|
|
|
|
### Fish shell
|
|
|
|
`stow_me/.config/fish/`
|
|
|
|
| Fil/mappe | Formål |
|
|
|---|---|
|
|
| `config.fish` | Kører `fastfetch` ved interaktive sessioner |
|
|
| `fish_variables` | Fish universelle variabler |
|
|
| `conf.d/fish_frozen_key_bindings.fish` | Tastaturgenvej-overrides |
|
|
| `conf.d/fish_frozen_theme.fish` | Tema-config |
|
|
| `completions/jotta-cli.fish` | Tab-completions til jotta-cli |
|
|
|
|
**Funktioner:**
|
|
|
|
| Funktion | Beskrivelse |
|
|
|---|---|
|
|
| `ll` | `lsd -Alh --group-dirs first` |
|
|
| `sll` | `sudo lsd -Alh --group-dirs first` |
|
|
| `dup` | `sudo dnf upgrade` |
|
|
| `sudo!!` | Kør forrige kommando med sudo |
|
|
| `zup` | `sudo zypper ref && sudo zypper dup` (openSUSE) |
|
|
|
|
### Kitty terminal
|
|
|
|
`stow_me/.config/kitty/`
|
|
|
|
- `kitty.conf` — hovedkonfig (font: JetBrainsMono Nerd Font Mono, tema: Catppuccin Macchiato)
|
|
- `Catppuccin-Macchiato.conf` — farvetema
|
|
- `current-theme.conf` — aktivt tema (symlink/include)
|
|
|
|
### PipeWire
|
|
|
|
`stow_me/.config/pipewire/pipewire.conf.d/sinks-loopback.conf`
|
|
|
|
Brugerdefineret loopback sink-konfiguration.
|
|
|
|
### VSCodium
|
|
|
|
`stow_me/.config/VSCodium/User/settings.json`
|
|
|
|
Brugerindstillinger til VSCodium inkl. terminal-font.
|
|
|
|
### OBS Studio
|
|
|
|
`stow_me/obs-settings/`
|
|
|
|
OBS-indstillinger er opdelt i to mapper der spejler OBS's config-layout:
|
|
|
|
- `Profile-files/GlennIgen/` — encoder- og optagelsesindstillinger
|
|
- `Settings-files/` — globale indstillinger, scener, plugin-configs (websocket, rtmp-services, plugin manager)
|
|
|
|
### Scripts
|
|
|
|
`stow_me/scripts/`
|
|
|
|
| Script | Beskrivelse |
|
|
|---|---|
|
|
| `app_close_and_restart.sh` | Luk en app og genstart den |
|
|
| `app_close_and_shutdown.sh` | Luk en app og sluk systemet |
|