My Linux environment
Go to file
Érico Rolim b70d12a94a Change neovim tab width to 3 spaces.
I did this for two reasons:

* I will try to use tabs for new code I write, due to a blog post I read
regarding the added difficulty for people with sight issues when using
files indented with spaces. It's an accessibility thing.

* 3 space tab width means it won't be confused with spaces, because no
one who indents with spaces should use 3 spaces for that. It's also a
pretty comfortable size.
2020-03-12 14:00:43 -03:00
alacritty/.config/alacritty Change the header of alacritty.yml 2020-03-11 19:33:37 -03:00
bat/.config/bat Add bat theme configuration. 2020-01-10 11:53:41 -03:00
distros Add programs to void script. 2020-01-24 17:39:32 -03:00
emacs/.config/emacs Store emacs config in .config instead of ~. 2020-01-20 01:58:45 -03:00
fish/.config Clean up fish directory. 2020-02-16 02:21:25 -03:00
gdb Name changes to files for using --dotfiles option in stow, and small changes to tmux. 2019-09-07 23:34:00 -03:00
nvim/.config/nvim Change neovim tab width to 3 spaces. 2020-03-12 14:00:43 -03:00
script/.local/bin Add script to create a folder backed by tmpfs. 2020-03-11 19:34:04 -03:00
sourcecode Set up keyboard layout for all inputs, switch layout for all inputs in keyboard switcher. 2020-01-24 17:37:47 -03:00
tmux Update configuration of tools. 2020-01-04 18:44:35 -03:00
wm Update sway configs. 2020-03-12 13:57:59 -03:00
.gitignore General maintenance of repo and removal of non-used functions. 2019-10-08 22:11:45 -03:00
.gitmodules Add git submodules for the vim plugins. 2020-01-04 18:59:05 -03:00
.stowrc Name changes to files for using --dotfiles option in stow, and small changes to tmux. 2019-09-07 23:34:00 -03:00
LICENSE Initial commit 2019-04-27 01:19:44 -03:00
README.md Change wallpaper. 2020-01-24 17:37:47 -03:00

README.md

ericonr's dotfiles

forthebadge

Uses GNU stow for managing symlinks! The default .stowrc file is setup for my home directory, and for adopting files (overwrite existing files, bringing them into the repo).

Also uses Go programs to perform a few tasks.

In order to link all files, use

$ stow */

otherwise, for specific folders, use

$ stow folder

It's also recommended to create the ~/.local/bin and ~/.local/share directories before stowing the repository.

Sway + Waybar

This setup, which can be found on wm and script, requires the following dependencies:

  • Basic setup:
    • sway: the Wayland compositor and tiling window manager.
    • Xwayland: X server inside Wayland, for backwards compatibility.
    • waybar: customizable status bar.
    • lavalauncher: simple static launcher that remains hidden :).
    • wofi: a pretty good menu system, for wayland (replaces the self built launcher).
    • mako: a notification daemon
    • jq: CLI JSON parser, necessary for keyboard layout implementation.
    • redshift: magic tool for avoiding eye burning. Needs to be the version patched for Sway/Wayland use.
  • Default applications:
    • fish: the default shell.
      • starship: the cross-shell prompt for astronauts.
    • alacritty: the default terminal emulator (because it's pretty, fast, and it has the dimensions option).
      • tmux: the Meta+T shortcut launches tmux for multiple terminals in the same screen.
    • emacs: the default(?) text editor (unfortunately, it has to run through Xwayland).
    • nvim: the default CLI text editor.
    • fzf: a wonderful fuzzy searcher, required by the self-built launcher.
  • Applications needed for media keys:
    • pulseaudio: the default audio daemon; provides pactl, which is used for controlling the volume.
    • brightnessctl: the default brightness controller; it's used for setting the backlight.
    • playerctl: player control from media keys.
    • grim: screenshots on wayland.
      • slurp: select a geometry on a wayland screen.
  • Media applications:
  • Applications needed for AppPauser keys:
    • AppPauser: is used for making pausing the execution of any application that's started by it possible.
  • Theming:

Obs.: This configuration requires some executables that can be obtained from the sourcecode/ directory.

Wallpaper

wallpaper

The wallpaper is from one of the finalists of the Plasma 5.18 Wallpaper Contest! Congratulations to all of them :D

I specially loved kevintee's colors, so I'm using their wallpaper, which is available here as a convenience, but still under their license. You can find other versions of it at their repo.

sourcecode

To install the executables inside this directory, it's necessary to run

go install ./...

inside it.

neovim plugins

Neovim now uses git submodules to store some plugins:

If you want to use these plugins, you can download them using:

git clone --recursive https://github.com/ericonr/dotfiles.git