My dotfiles for configuring my Arch-based operating system and the programmes I use to streamline research and publication (to journals, website, and personal and collaborative notes).
The dotfiles configure my desktop environment, terminal theme, shortkeys, keyboard language settings (Latin accents, Russian, Greek, Chinese), LaTeX write up workflow, with streamlined Inkscape figure drawing, Zotero bibliography plugins, and many other useful settings.
- Alacritty is a terminal emulator
- Autokey with my dotfiles transforms
hjkl
to arrow keys, or shift arrow keys when ctrl is held simultaneously - Caffeine to prevent sleep during full screen
- Fcitx language input
- Flameshot screen grab
- i3 and i3 polybar (personal configuration)
- Inkscape for LaTeX figures
- Inkscape-LaTeX integration by Gilles Catel ✝2022
- Luavim built up from a foundation of dotfiles by Elijan J. Mastnak
- Emojis! 🦄🌈🍭 Activate by pressing
<mod+y>
The most straightforward manner to implement my configuration --if you're not already on Arch --is to install Manjaro i3. Once that is up and running, then clone my dotfiles to your home directory.
Install Arch using the Manjaro i3 distribution, following the instructions therein. See troubleshooting should you encounter any problems.
Start your terminal --on i3, the shortcut is <mod+CR>
i.e. your mod key
(usually left windows key) + enter, simultaneously.
Next, enter these commands in order, pressing enter at the end of every line:
yay -S git
y
cd
git init
rm .bash_profile .Xresources .bashrc .config/i3/config
git remote add origin https://github.com/henrysheehy/dotfiles.git
git pull origin master
- The first command installs git, a version control system i.e. for systematically sharing work; the second command confirms installation.
cd
navigates to your home directory, wherein we want to install our dot files.- Initialise the git repository.
- Remove conflicting files
- Add my repository URL
- Pull the branch i.e. download the files
- Update the local Arch Linux User Repository (AUR) with
yay -Syu
. This will also update your programmes and kernel. - Run
sh .script/INSTALL.sh
to install my programmes from the AUR and Python Package Index
In order to install the plugins when using Vim for the first time, begin by enetering the following into your terminal
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
Next, open Vim by entering nvim $HOME/.config/nvim/init.lua
.
Inside the Vim instance, type :PlugInstall
and enter.
Further information can be found in E. J. Mastnak's guide.
In order to use my keyboard (English, Greek, Chinese
(Pinyin), Russian (phonetic), please
execute sh .script/keyboard.sh
for the first time, and if the .config/.keyboard configuration file
is modified.
To use the languages
- Hold left-alt for Greek via XKB.
- Press right-windows key for Russian via XKB.
- Ctrl+spacebar for Chinese via Fcitx.
- Install the Zotero connector
- Install Better BibTex
- Configure shortcut for adding Zotero citation:Open about:addons in a Firefox tab 3.1. Press the wheel 3.2. Zotero Connector: Ctrl+Shift+F
Open Zotero using i3 with <mod+z>
. You can now
add citations from Firfox to the currently open Zotero folder.
- Vimium
- A password manager
- Darkreader
Simply make a wallpaper folder mkdir Wallpaper
in the home
directory (cd
, if you're not there already).
Add your favourite pictures 😃
To randomly cycle wallpaper, restart i3 with mod+R
.
If you have difficulties installing Manjaro i3, attempt to install without connecting to the internet (to avoid unintentional kernel updates). Once you're up and running, install the stable arch kernel. This kernel was written for those experiencing kernel panics on the usual install. Install using
yay -S linux-lts
Importantly, don't run yay -Syu
before installing this kernel! We don't
want to update the repository or kernel before installing the stable kernel.
If that fails, an alternative distribution which has succeeded for others (thanks Cris!) is Endeavour OS. As with Manjaro, install offline, and once running, install linux-lts.
Thank you for using this repository. If it is helpful to you, kindly give it a star.
Thank you to Cris for testing this installation and helping to make it more stable for future users (☞゚ヮ゚)☞☜(゚ヮ゚☜)
My dotfiles for configuring Arch Linux
Copyright (C) 2023 Henry Joseph Sheehy
GNU 2.0 LICENSE