Go to file
2022-12-20 16:06:22 -07:00
aerc Add aerc accounts template 2022-09-07 22:31:42 -06:00
alacritty Update alacritty config 2022-10-15 14:15:39 -06:00
bash Add python manpage script 2022-12-08 20:54:20 -07:00
bin Rewrite: prettify_bash_history 2022-12-20 16:06:22 -07:00
chromium Add electron flags 2022-12-14 15:19:33 -07:00
git Improve sway window dimension script 2022-11-21 01:27:49 -07:00
gnupg Init again 2022-09-06 23:34:19 -06:00
macos Init again 2022-09-06 23:34:19 -06:00
mako Init again 2022-09-06 23:34:19 -06:00
mpv Add file renaming script 2022-12-19 19:42:03 -07:00
notes Add 3 Rs of git notes 2022-12-07 12:06:03 -07:00
ripgrep Init again 2022-09-06 23:34:19 -06:00
sketchybar Init again 2022-09-06 23:34:19 -06:00
skhd Init again 2022-09-06 23:34:19 -06:00
ssh Add ssh[d] templates and checks 2022-12-07 22:27:01 -07:00
swappy Init again 2022-09-06 23:34:19 -06:00
sway Add file renaming script 2022-12-19 19:42:03 -07:00
swaylock Improve vifm backgrounding 2022-09-27 23:29:44 -06:00
systemd Add systemd-networkd config templates 2022-12-07 12:09:59 -07:00
tmux Update tmux keybinds 2022-11-10 00:01:06 -07:00
vifm Integrate file renaming script to vifm 2022-12-19 20:19:18 -07:00
vim Improve git aliases 2022-11-13 22:47:06 -07:00
vimiv Init again 2022-09-06 23:34:19 -06:00
warpd Init again 2022-09-06 23:34:19 -06:00
xremap Init again 2022-09-06 23:34:19 -06:00
yabai Init again 2022-09-06 23:34:19 -06:00
yofi Init again 2022-09-06 23:34:19 -06:00
.gitignore Update readme 2022-11-21 01:40:27 -07:00
install.sh Add electron flags 2022-12-14 15:19:33 -07:00
package_install.sh Update alacritty config 2022-10-15 14:15:39 -06:00
post_install.sh Rewrite: prettify_bash_history 2022-12-20 16:06:22 -07:00
README.md Update readme 2022-11-21 01:40:27 -07:00

Hit the ground flying with dotfiles for Unix-like systems including MacOS. These contain all sorts of goodies for bash, vim, shell scripts, unix notes, and much more!

Installation

git clone --depth=1 'ssh://git@codeberg.org:22/akemi/dotfiles.git' dotfiles
cd dotfiles
bash ./install.sh --help

install.sh status tells you which files can be linked and which ones are already on your system. Move the ones on your system out of the way before continuing

bash install.sh install
bash install_packages.sh install

If you're running ArchLinux or EndeavourOS, post_install.sh will help guide you through additional installation steps you can take. See ./notes/futher_installation/ for a description of these steps

Support

Official support is for the latest version of bash and EndeavourOS only. The MacOS dotfiles were working on Catalina (10.15) and likely mostly work on newer versions as well

As of writing, EndeavourOS is on Linux 6.0.8 and bash is version 5.1.16

For Linux, these dotfiles setup Sway on Wayland, a completely different display server from Xorg. I3 is similar to Sway for Xorg

I'm increasingly migrating my scripts from bash to python. Many require at least python version 3.10 (match statements) to run properly. EndeavourOS and other Arch-based systems keep their python up to date, make sure you do too

Keybinding

Generally keybindings follow this scheme for skhd/xremap, bash, and vim's insert mode. They roughly resemble Emac's default. Outliers are bolded. These are written assuming Ctrl is mapped to CapsLock

When possible selecting is preferred to actually deleting the text

Type Start of line Back word Back character Forward character Forward word End of line
Movement ^a ^b ^j ^f ^w ^e
Deletion ^u ^h ^d ^k

Window managers are bound to the Super/Command/Logo key. This is the key adjacent to the spacebar

Light and Dark Mode

Alacritty, tmux, vim, vifm, vimiv are all synchronously colored through bin/colo.sh. This script supports multiple color schemes and makes it easy to add new ones.

In running instances of vim and vifm, use :Light or :Dark to update their color scheme to match Alacritty. New instances are automatically updated