A remote copy of my Linux configuration files. Each file is symlink'd into place
using GNU Stow. Each top-level directory represents configuration for a
single application. In order to load the configuration for that application you
invoke stow passing the name of the top-level directory. This allows you to
select which configurations you would like to use. For example, to load my
bashrc into the $HOME directory, I would run the following.
$> cd stow
$> stow --dotfiles bash
The following briefly describe what configurations are included in the repository.
Default bashrc provided by Fedora Linux.
- Add
cargoto PATH
Pretty nice shell.
- Set abbreviations
- Set vi keybindings mode
- Remove greeting
Foot is a terminal emulator that comes with sway. I have adjusted the configuration slightly e.g., increase default font size (8 >> 12).
- Make fish default shell
I have added a few configurations to my init.lua.
- Set tab behaviour
- Use
vim-plugas plugin manager - Install gitgutter
- Install rust.vim plugin
- Install tex-fmt for formatting tex files
- Use with conform.nvim for <leader>f
I like using vim over nvim at the moment. The configuration files are simpler than writing Lua.
- Add vim-plug as plugin manager
- Add rust-lang/rust.vim to format rust code on save.
Sway is a window manager which aims to replicate the i3 experience on Wayland.
Most of my configuration remains default, but I have added a few things. Most
importantly, I use waybar. Other than that, I think it's basically
just modifications to things like gaps inner 5.
- Use waybar
- Mouse pointer speed
- Make capslock be escape
- Add gaps
- Add mod+< and mod+> for moving workspaces
- Add clamshell script for disabling laptop screen with extern monitors
Note
Sway uses the dmenu package for easy access to GUI applications.
Install via sudo dnf install dmenu on Fedora.
Waybar is a third-party extension to sway. It is a command-line instruction
that is invoked by the sway manager during bar draws. In my sway config,
this happens at bar swaybar_command waybar or something. I prefer a
drastically simplified status bar, so my waybar configuration reflects that.
- Add battery, with current status indicator (^, v, -)
- Add network
- Add date and time
- Add volume
- Add CPU usage
I like using lowercase directory names. This clashes with the default xdg-user-dir directory names. This configuration changes all of the default directories to use lowercase. It also disables the execution of xdg-user-dir-update at login. This prevents my user configuration from being overwritten by /etc/xdg/user-dirs.dirs at each new login session.