dotfiles/README.md

55 lines
2.6 KiB
Markdown
Raw Normal View History

2024-08-12 17:39:56 -07:00
# Dotfiles
2024-08-12 17:36:15 -07:00
2024-08-12 17:39:56 -07:00
My personal dotfiles for Sway/River on Arch Linux. They are designed to be used
2024-08-12 17:49:22 -07:00
with [gnu stow](https://www.gnu.org/software/stow/). Each directory is a kind
2024-08-12 17:39:56 -07:00
of 'module' that can be individually symlinked.
You are welcome to do whatever you would like with these configs (they are
licensed under the 0 clause BSD license); be inspired by them, copy them,
whatever, no attribution necessary. I would encourage you to fork this repo,
then use `stow` to install whatever modules you would like, changing whatever
you want as you go. For example, if you want to steal my neovim configuration,
you could run `stow nvim`, assuming this repo is located in your home
directory.
# Some Software I run
## Shell
2024-08-12 17:49:22 -07:00
I use [fish](https://fishshell.com/) together with
[starship](https://starship.rs). It's basic, but gets the job done.
2024-08-12 17:39:56 -07:00
## Editors
### Neovim
2024-08-12 17:49:22 -07:00
I love [neovim](https://neovim.io). I have two different neovim configurations,
(`nvim` and `nvim-vimscript`). `nvim` is a ~500 LOC lua monstrosity that works
wonderfully but is a bit of a pain to maintain. If you are new to neovim, I
would recommend borrowing more from `nvim-vimscript` which is a ~100 LOC
vimscript config that is much simpler and does 95% of what the other config
does.
2024-08-12 17:39:56 -07:00
### Emacs
2024-08-12 17:49:22 -07:00
I love [emacs](https://www.gnu.org/software/emacs/) as well. My configuration
2024-08-12 17:39:56 -07:00
is a literate `org` file that gets tangled into `init.el`. As far as Emacs
configurations go, it's pretty clean, but still is a several hundred line mess.
## Compositors
2024-08-12 17:49:22 -07:00
I'm on Wayland now, and use either [sway](https://swaywm.org/) or
[river](https://codeberg.org/river/river) depending on how I'm feeling, and
2024-08-12 17:39:56 -07:00
have configurations for both. I generally use
2024-08-12 17:49:22 -07:00
[waybar](https://github.com/Alexays/Waybar) for sway and
[yambar](https://codeberg.org/dnkl/yambar) for river for no particular reason.
All the other configs (swaylock, fuzzel, etc.) are compositor agnostic. Note,
in both my sway and river configs I swap meta and left-alt. That's just a habit
from starting on [dwm](https://dwm.suckless.org/), whose default mod key is
alt. You may want to change that.
2024-08-12 17:39:56 -07:00
## Keyd
Since I use vim and emacs, I like to map caps lock to act as control when held
2024-08-12 17:49:22 -07:00
and escape when tapped. I use a simple [keyd](https://github.com/rvaiya/keyd)
2024-08-12 17:39:56 -07:00
config for this. However, note that `keyd/default.conf` should be copied to
`/etc/keyd/` and the `keyd` service should be enabled and started. If `keyd`
isn't in your distro's repos, it is very easy to build and install from source.
2024-08-12 17:49:22 -07:00
Otherwise, [caps2esc](https://gitlab.com/interception/linux/plugins/caps2esc)
2024-08-12 17:39:56 -07:00
probably is and is likewise pretty simple to get set up.