This repo contains the configuration I usually set up on a new machine.
It assumes:
- OS: Ubuntu
- Window manager: niri
- Shell: zsh
Run the installation script: ./install-ubuntu.sh
Config is organized into stow packages. Apply individual modules:
stow -d stow -t ~ shell # zsh, bash, oh-my-zsh
stow -d stow -t ~ tmux # tmux config and scripts
stow -d stow -t ~ niri # niri, swaylock, waybar, swayidle
stow -d stow -t ~ nvim # vim, neovim
stow -d stow -t ~ alacritty # alacritty terminal
stow -d stow -t ~ qutebrowser # qutebrowser
stow -d stow -t ~ audio # pipewire
stow -d stow -t ~ rsync # rsync.net scripts
stow -d stow -t ~ misc # utilities (battery, ne, etc.)
stow -d stow -t ~ gpd # GPD Pocket 3 specific (+ sudo stow for /etc)Or apply standard set:
./stow-standard.shDone by hand, for now.
In about:config, set apz.gtk.kinetic_scroll.enabled to false.
- Download EB Garamond
mkdir -p /home/rayhan/snap/firefox/common/.fonts- Copy the TTF files to that directory
cd ~/snap/firefox/common/.mozilla/firefox/*.defaultmkdir -p chrome && cd chrome && echo "@-moz-document url-prefix('about:reader') {\n body.serif {\n font-family: 'EB Garamond' \!important;\n }\n}\n" >> userContent.css
via: https://superuser.com/a/1323420 and https://bugzilla.mozilla.org/show_bug.cgi?id=1760996#c2
Run sudo pam-auth-update and enable the fingerprint reader by hitting spacebar.
Leader key: <Space>
<Space>t- Toggle NERDTree<Space>R- Reload vimrc<Space>c- Insert checkbox- [ ]at beginning of line<Space>d- Toggle checkbox state[ ]↔[x](markdown files only)<Space>x- Remove checkbox entirely (neovim, markdown files only)jk- Exit insert mode (alternative to Esc)
If you find yourself needing to use this on macOS, after installing Homebrew and Oh My ZSH:
brew install alacritty
brew install tmux
brew tap homebrew/cask-fonts
brew install --cask font-victor-mono
Look into switching to tree-style tabs and disable native toolbar at the top. Then maximize will use the Gnome Unite extension on maximize
https://superuser.com/questions/1424478/can-i-hide-native-tabs-at-the-top-of-firefox
