aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: c2fd3adcb2e75cb9b84485003ed117a1910a7096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
# Unixconfig

Just my dotfiles for *nix systems.

I've been hanging around this repo for a few years. I created this repo around 2017, when I started to take vim seriously. But I had an explosion of commits around my sabbatical, when I started to use dwm and VoidLinux. Anyways, this is the latest revision, and I have changed the structure of the repo.

# Showcase

![dwm](showcase/dwm.png)

![dwm (2)](showcase/dwm2.png)

![dwm on a Phenom II, 2026](showcase/dwm_phenomII_2026.jpg)

![Hyprland](showcase/hyprland.png)

![Mango](showcase/mango.png)

![Labwc](showcase/captura-labwc.png)

![cwal: Cyberpunk](showcase/captura-cyberpunk.png)

![cwal: Everforest](showcase/captura-everforest.png)

![cwal: Rosé Pine](showcase/captura-rose.png)

![cwal: Rosé Pine dark](showcase/captura-rose-dark.png)

# Structure

Well, it's organized this way:

| Folder | Description |
|--|--|
| base | Base configuration folder. Basic things, configurations for programs that I consider to be essential |
| data | Some random shit, like my bookmarks. Data in general that I'd like to bring with me |
| flavors | Some 'flavor'-specific configuration. Like "FreeBSD + dwm + x11" or "linux + wayland + labwc" |
| optionals | Configurations for optional programs (that I don't always install) or replacements for programs in base folder |
| programs | My own scripts and programs that I like to keep with my dotfiles, I don't always install and I don't know where to put them |
| showcase | Some screenshots of my setups in different machines |

# How can you install my dotfiles
I don't want to use stow or any installation script. Just fucking copy what you want and... that's it.

Sooooo you want my bashrc? Well, just fucking copy it. It's under base folder (cause it's my default command interpreter, duh). Do it like this:

```sh
cp -ia base/.bashrc* ~
```

It's old-school, it is not fancy. It's not awesome. It's just a fucking cp and it's fine.


# Every folder in detail

Every folder mirrors your __home__ folder. So, if you see .config/vis you should copy it to /home/you/.config/vis.
Anyway, let's address every folder, and what lives in every one:

## base
Again, my base configuration folder

* bash

First things first I have my command interpreter configuration. You may ask... why bash? Well, It's the default command interpreter in almost every linux distro and I don't see any reason to drop it in favor of another shell. Maybe I will change it to something more... suckless.
Back to the configuration, there are two files: _bashrc_ and _bashrc.local_. _bashrc_ is the base configuration, and something you should not edit directly. _bashrc.local_ is your local-machine configuration, where you can tune your bashrc.

* gitconfig

My git configuration. I like to have it here to always copy the same git name and git email.

* vim

Ooooh vim. My beloved text editor. I use vim everywhere: on my system, on servers... I'd use it even for my ceramic hob. I simplified my vim 8/9 config to just have fzf support. So, you don't have to install plugins and other bloat in your system. Just drop .vim and .vimrc and you are good to go!

* .wallpapers

My wallpapers folder. It's a separate folder 'cause I can create scripts to read images from this folder and to change my current wallpaper using swaybg, xwallpaper and so on. You will find two subfolders: available and enabled. If you have used NGINX you can guess what you should do. If you haven't, well my friend, it's the suckless way to decide which wallpapers you want and which you don't. You just sym-link them into enabled and you are ready to go. More notes in the [enabled folder README](base/.wallpapers/enabled/README.md).

Most of the wallpapers in `available` are art by [Simon Stålenhag](https://www.simonstalenhag.se/), my favorite painter. All the credit goes to him: those images are his work, not mine, and they are not covered by this repository's license.

* .local/bin

For some years now, I've made it a habit to create a bin folder inside my ~/.local home folder. It's a good way to have your "custom" and "user-only" binaries. Just copy this folder and with my .bashrc, every binary you drop in .local/bin will be in your PATH.

* vis

Vis is a simpler and cleaner version of vim. Vim has a long history on its shoulders. That means that vim has to maintain backwards compatibility with years and years of development. In contrast, vis doesn't have to. I started to use vis as a replacement for its bloated cousin, nvim. Maybe in the long run I will drop vim too.

My shortcuts, requirements and LSP setup are documented in [base/.config/vis/README.md](base/.config/vis/README.md).

## optionals

* .config/gtk-X.X

Just default configuration to style GTK-based apps. Combine it with my theme manager, [cwal](#cwal) (look at programs section)

* nvim

NeoVim. I dont know what to say. It's NeoVim, a vim alternative. Bloated as hell. A good alternative to the original vim. Not so good alternative to vis.

* ranger

I love terminal file manager. I currently prefer yazi because, you know, it's not written in an interpreted language like python. I used to use ranger before. This configuration enables image rendering in the terminal.

* doom.d

What happens if vim and emacs fuck together. Well, you get doom emacs. I love the concept that emacs is, essentially, a Lisp-like interpreter with a editor on top of it. But doom emacs is a bloated emacs distribution. It's a no-no for me.

* .emacs

Again, I like the concept of emacs. I don't like the execution.

* zsh

If you use zsh instead of bash you can copy .zshrc and .zshrc.local.

## flavors

I will talk about every folder in general, without talking in detail what it's inside in each one.

* linux-dwm

Linux with Xorg and dwm. You must download dwm and st and place them inside your .config folder. You should end up with .config/dwm/<cloned dwm> and .config/st/<cloned st>. More notes in [flavors/linux-dwm/README](flavors/linux-dwm/README).

* linux-hyprland

I liked *using* hyprland, but it's missing in some distros (if not almost *every* distro), and good luck compiling it from source: there are like 8 or 10 repos to compile in order, it depends on the latest C++ features (sometimes not supported by the GCC compiler distributed with your distro) and you end up fighting your libstdc++ and the libc++ of clang 'cause clang does support the C++ version that hyprland is written in. I hate modern software and I hate hyprland and its nonsense decisions.

Long story short, if you're on Arch and want to use hyprland copy this configuration.

* linux-labwc

I love labwc. If you want something lightweight and you don't want a tiling wm then just use labwc.

* linux-mango

My new favorite wm. In contrast to hyprland, it's just one repo written in plain old C.

* linux-river

I don't even remember what river is.

* linux-sway

It's like i3 but for wayland. Ewwwww, disgusting...

...

You may ask why I consider i3 and sway disgusting. It's just my opinion, but I hate that i3/sway asks me every time I open a window where the fuck I should put it. JUST OPEN IT, FOR GOD'S SAKE. I like any dynamic tiling window manager more than i3/sway.

## programs

* sublime-text

I don't even use sublime anymore. This are my old settings, just in case I get brainrot or something and I want to use this editor.

* vscode

Same as above. Just use vis/nvim/vim. If you want a graphical editor with fancy effects and so on, use Zed instead. At least it's written in Rust.

### cwal

Cwal is my program to synchronize the desktop theme. It will read a theme defined in a key value like config file and it will generate every configuration file for every supported program you have installed. This way, you can change your theme to Rosé-Pine (my fav) and change, for example:

    - vim
    - vis
    - nvim
    - Thunar or any GTK-based program
    - Firefox
    - btop
    - foot
    - your mango/labwc/any other wm theme
    - your waybar theme
    - and others!!!

I recommend to you to copy the folder programs/cwal to your .local/bin/cwal, run make inside .local/bin/cwal-code. Then you can change a theme using this command:

```sh
~/.local/bin/cwal-code/apply-theme ~/.local/bin/cwal-code/themes/rose-pine-dark.conf
```

Some recomendations:

    * GTK themes needs breeze-gtk to work
    * Dwm needs to have the dwm and st code inside your .config folder like this: .config/dwm and .config/st. Tested versions are dwm 6.8 and st 0.9.3


Full documentation (every program, theme keys, template variables and how to add your own) in [programs/cwal/README.md](programs/cwal/README.md). The per-program scripts are described in [components/README.md](programs/cwal/components/README.md).

# License

Copyright (C) 2017-2026 deltegui

This repository is licensed under the [GNU General Public License v3.0](LICENSE). If you modify and share it, share it under the same license and keep my copyright notice.

Third-party code keeps its own license, like [vis-lspc](base/.config/vis/plugins/vis-lspc/LICENSE), and the wallpapers keep the copyright of their authors.