dotfiles/org/config/index.org

9.3 KiB
Raw Blame History

Phundraks dotfiles

Presentation

This is my collection of dotfiles for my daily GNU/Linux environment, tweaked to my liking. If you wish to get the same setup as mine, follow the instructions below.

For starters, here is the link to all the pages on my website that you might find interesting. Ill describe them in more details below.

As you can see, I personally use fish as my shell of choice, and Emacs 29.0 as my main text editor.

When it comes to my graphical UI, I do not have any desktop environment. Instead, I have a tiling window managers, StumpWM. I used to use i3-gaps, an i3 fork by Airblader, with which I used Polybar as well as pywal to define my systems color scheme, and then I used Awesome. But now, as said above, I prefer to use StumpWM. It has a built-in status bar (called a mode-line, like in Emacs) which I use, and I settled on the dark Nord theme for pretty much everything I use.

Finally, you can find my configuration for my ErgodoxEZ keyboard here. It is optimized for usage with the Bépo layout set as a software layout. It has also a layer set to emulate a Qwerty layout when using the Bépo software layout due to some games that do not offer to remap keys (Im looking at you, Among Us).

Features

  • Emacs configuration perfectly tailored for my own use
  • Beautiful and comfy AwesomeWM and StumpWM configuration
  • And enough information below to get basically the same distro install as I have on my main computer and my travel laptop.

Most of the org files you will find in this repos are the actual source code of much of my config files. For instance, the bootstrap found in bootstrap.org exports almost all of its code snippets to .config/yadm/bootstrap thanks to M-x org-babel-tangle from within Emacs. Below I will also present and comment some of my short config files which do not deserve to have a full org file dedicated to them.

Tiling Window Managers

StumpWM

StumpWM is the tiling window manager I use at the moment. It is written and configured in Common Lisp, which I enjoy a lot since it has a syntax quite close to Elisp, the Lisp dialect used in Emacs. Im currently still in the process of figuring out my config, so please consider it as a kind of work in progress. You can find the configuration here.

AwesomeWM (Deprecated)

AwesomeWM is the TWM I used for quite some time after switching from i3. This is an automatic tiling window manager written and configured mostly in Lua, with its core written in C (this is originally a dwm fork). My configuration for it is documented in detail in its corresponding document, which you can find here.

i3 configuration (Deprecated)

The i3 configuration is detailed in its corresponding README which you can find here. Be aware I do not use i3 anymore, and I will not update it until I may someday use it again. This was deprecated on August 22nd, 2020.

Polybar config (Deprecated)

My annotated polybar config can be found here, if you wish to use it. Be aware I do not use polybar anymore, and I will not update it until I may someday use it again. This was deprecated on August 22nd, 2020.

Text and source code editing

Emacs configuration

Emacs is my main text editor, which I use for almost everything. Because, you know…

Emacs is a great operating system, it just lacks a good text editor.

My current configuration is a vanilla config, meaning I do not rely on another configuration or framework such as Spacemacs or DoomEmacs to configure Emacs. You can find its configuration here.

I used to use a Spacemacs-based configuration, however I deprecated it on October 20th 2021. You can find it here.

Nano (deprecated)

Although it is a very simple piece of software, nano does offer some customization. Mine can be found in my nano.org file. Be aware I do not use nano anymore, and I will not update it until I may someday use it again. This was deprecated on August 28th, 2020.

Rustfmt

You can find my Rustfmt configuration here.

Custom scripts in PATH

I have written some scripts that help me daily accomplish some simple tasks, like mounting and unmounting a drive or Android device, an emoji picker, a utility to set up my Wacom tablet, and so on. You can find them stored in my bin.org file along with their detailed explanation in the README placed in the same folder —which is actually their source code once the org-mode file gets tangled.

Terminal configuration

Fish configuration with useful abbreviations

You can also find in my Fish shell configuration in my fish.org file, which contains my usual abbreviations.

Tmux configuration

You can find my tmux configuration in tmux.org. It depends on the submodule .tmux by Gregory Pakosz.

And some minor configuration files

Global gitignore

Sometimes, there are some lines that always reappear in gitignores. So, instead of always adding them, let git now that some elements are to be ignored by default, hence the ~/.gitignore_global file. First, we dont want nanos backup files.

~*

And object files and output binaries generated by gcc and the likes arent welcome either.

,*.out
,*.o

Paru

paru is an AUR helper for Arch Linux which aims to be a replacement for yay. A couple of the options you will see below aim at restoring the behavior of yay in paru. I also activated the sudo loop so I dont have to enter my password if one package takes too much time to compile and/or compress. I know it can be a security issue if someone ever get access to my computer while paru is running, but if it ever happens it will be already concerning enough they managed to. I also make use of my custom script dired so I can use Emacs Dired as the file manager for paru.

[options]
BottomUp
Devel
DevelSuffixes = -git -cvs -svn -bzr -darcs -always
NewsOnUpgrade
PgpFetch
Provides
RemoveMake
SudoLoop
UpgradeMenu

[bin]
FileManager = dired

Installation

For an installation walkthrough of my Arch Linux installation, check out my bootstrap file where I walk you through the first manual steps and through the bootstrap you can execute to automatically take care of a lot of elements.

Licence

All of my dotfiles (and my dotfiles only) are available under the GNU GPLv3 Licence. Please consult /phundrak/dotfiles/src/commit/8afc189c3db02336d4a63c32fc6728a6d3818cd2/org/config/LICENCE.md for more information. In short: you are free to access, edit and redistribute all of my dotfiles under the same licence and as allowed by the licence, and if you fuck up something, its your own responsibility.