summaryrefslogtreecommitdiffstats
path: root/.local/share
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-04 08:44:50 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-06 16:43:16 +0200
commit0bc002288b984d8ec8123c135456570c78a22da3 (patch)
tree020ed3f6a7f28a081687a3e46ea190e3aa724f7c /.local/share
downloaddotfiles-0bc002288b984d8ec8123c135456570c78a22da3.tar.gz
dotfiles-0bc002288b984d8ec8123c135456570c78a22da3.zip
feat: initial setup
- `dotfiles` (this project's CLI) - foot configuration - tmux configuration - bash configuration - nvim (as a git submodule) + configuration - ranger configuration - fzf configuration - KDE global shortcuts - Other miscellaneous dependencies
Diffstat (limited to '.local/share')
-rw-r--r--.local/share/dotfiles/README.md41
m---------.local/share/dotfiles/deps/neovim0
-rw-r--r--.local/share/dotfiles/dotfiles_off.env1
-rw-r--r--.local/share/dotfiles/dotfiles_on.env6
4 files changed, 48 insertions, 0 deletions
diff --git a/.local/share/dotfiles/README.md b/.local/share/dotfiles/README.md
new file mode 100644
index 0000000..8382007
--- /dev/null
+++ b/.local/share/dotfiles/README.md
@@ -0,0 +1,41 @@
+# dotfiles
+
+The repository for my configurations, my tools, my setup. Each branch is for a specific environment (OS, distribution,
+DE, whatever). It is inspired by [this][0].
+
+A dotfiles repository index can be anywhere, but the working tree must be at `HOME`. This is how to start from scratch:
+
+```bash
+git init --bare "$DOTFILES_DIR"
+export GIT_DIR="$DOTFILES_DIR" GIT_WORK_TREE="$HOME"
+git config --local status.showUntrackedFiles no
+```
+
+Add any file to the repository: `git add ~/.bashrc`.
+
+## Setup
+
+There is one thing to configure not included in the repo (because you can choose `DOTFILES_DIR`):
+
+```bash
+echo "DOTFILES_DIR=$DOTFILES_DIR" >>"$HOME/.config/environment.d/50-dotfiles.conf"
+```
+
+This variable must be available for other programs to function. See `man 5 environment.d`. Now reboot. That's it!
+
+## Overview
+
+- **Terminal emulator**: [foot][1]
+- **Terminal multiplexer**: [tmux][2]
+- **Shell**: [bash][3]
+- **File browser**: [ranger][4]
+- **Text editor**: [nvim][5]
+
+## Links
+
+[0]: https://www.atlassian.com/git/tutorials/dotfiles
+[1]: https://codeberg.org/dnkl/foot#index
+[2]: https://github.com/tmux/tmux/wiki
+[3]: https://www.gnu.org/software/bash/
+[4]: https://github.com/ranger/ranger
+[5]: https://neovim.io/
diff --git a/.local/share/dotfiles/deps/neovim b/.local/share/dotfiles/deps/neovim
new file mode 160000
+Subproject 4b35336f6f850ce68a230716401cdaa21bdb6a2
diff --git a/.local/share/dotfiles/dotfiles_off.env b/.local/share/dotfiles/dotfiles_off.env
new file mode 100644
index 0000000..949494d
--- /dev/null
+++ b/.local/share/dotfiles/dotfiles_off.env
@@ -0,0 +1 @@
+unset GIT_DIR GIT_WORK_TREE
diff --git a/.local/share/dotfiles/dotfiles_on.env b/.local/share/dotfiles/dotfiles_on.env
new file mode 100644
index 0000000..f02b9f4
--- /dev/null
+++ b/.local/share/dotfiles/dotfiles_on.env
@@ -0,0 +1,6 @@
+export GIT_DIR="$DOTFILES_DIR" GIT_WORK_TREE="$HOME"
+
+function _comp_dotfiles() {
+ COMPREPLY=(sync on off)
+}
+complete -F _comp_dotfiles dotfiles