-
update system
sudo apt update && sudo apt update -y && sudo autoremove
-
install
git
,stow
, and otherssudo apt install -y git stow tmux ripgrep openssh-server i3 htop xclip neofetch # (?) sudo apt install barrier
-
clone this repo & open this file
cd && git clone https://github.com/n-sweep/.dotfiles vi ~/.dotfiles/README.md
This file.
Bash settings and aliases
This directory gets symlinked to the home folder:
stow bash -d ~/.dotfiles -t ~
Bash aliases
- default bash settings
- history settings
- smart prompt
- personal settings
- cl settings
- anaconda initialization (automatically generated)
- change cursor depending on vi mode
- completion settings
Customize firefox to use an image on the system in a blank tab
- navigate to
about:config
- find
toolkit.legacyUserProfileCustomizations.stylesheets
& toggle totrue
- navigate to
about:support
- locate Application Basics > Profile Directory
/home/n/.mozilla/firefox/ut79gu00.default-release
- this changes, maybe when firefox is updated. I wonder if there is a way to get it programatically
- stow the ./chrome folder to the Profile Directory
stow firefox -d ~/.dotfiles -t ~/.mozilla/firefox/ut79gu00.default-release
- copy an image to the file /usr/share/backgrounds/wallpaper to be used as the newtab wallpaper
[TODO] I also have a firefox setting that shrinks the UI. I forget what it is; find and document
- navigate to
about:config
- find
perpx
- change to scale where 1 = 100%
CSS for setting blank tab background image
This directory gets symlinked to the home folder:
mv .config/i3/config .config/i3/default_config.bak
stow i3 -d ~/.dotfiles -t ~
Settings for jupyter
pip install jupyterthemes
pip install --upgrade jupyterthemes
jt -t gruvboxd -f ubuntu -nfs 11 -T -N -kl
Use JupyText to create a new jupyter notebook based on a template
[TODO] should I move the script to scripts/ instead of jupyter/
Notebook templates
temp.py
The parent directory gets stowed to the home folder
stow nvim -d ~/.dotfiles -t ~
code style settings
ignoring E501, E116
This directory contains lua to be run by neovim at startup
init.lua # entrypoint - runs automatically at startup
lua/
nsweep/ # my user settings
init.lua
plugin.lua
remap.lua
set.lua
keysender/ # send keys from neovim to tmux pane
init.lua
README.md
slipbox/ # zettelkasten navigator
assets.lua
init.lua
keymap.lua
README.md
after/plugin/ # lua run automatically after nvim loads
colorscheme.lua
harpoon.lua
jupynium.lua
jupytext.lua
lsp.lua
lualine.lua
markdown-preview.lua
nvim-autopairs.lua
telescope.lua
tmux.lua
treesitter.lua
undotree.lua
vim-fugitive.lua
This directory contains (primarily bash) scripts
Scripts in this directory get symlinked to ~/bin
if [ ! -d "$HOME/bin" ]; then mkdir $HOME/bin; fi
stow path -d ~/.dotfiles/scripts -t $HOME/bin
# OR the alias
# stowpath
- scratch
- cd into /tmp/scratch/ and run nvim. mkdir if it doesn't exist.
- stowpath
- stows everything from ~/.dotfiles/scripts/path to ~/bin
an emoji command line tool using Open Emoji API, fzf
, and ripgrep
# echo emoji to terminal
$ emoji waving hand
> 👋
# copy emoji to clipboard
$ emoji -c waving hand
# replace multiple emoji with :colon-syntax:
$ emoji -m "an :avocado: is a fruit. so is a :tomato:. they do not belong in a fruit salad. :grinning-face-with-sweat:"
> an 🥑 is a fruit. so is a 🍅. they do not belong in a fruit salad. 😅
$ echo "an :avocado: is a fruit.\nso is a :tomato:.\nthey do not belong in a fruit salad. :grinning-face-with-sweat:" > /tmp/text.txt
$ emoji -m "$(cat /tmp/text.txt)"
> an 🥑 is a fruit
> so is a 🍅
> they do not belong in a fruit salad 😅
This directory gets symlinked to the home folder
stow tmux -d ~/.dotfiles -t ~
[TODO] document
[TODO] document
This directory gets symlinked to the home folder
stow wezterm -d ~/.dotfiles -t ~
[TODO] document