tmux-dev-env-configuration/README.md

5.9 KiB

Pop-os - Gnome - Tmux - Fish - Vim - FZF - Serious Configuration - Shawn Anderson

These are the dotfiles that I hack on. Can easily be installed to your ~/.config/ by using the gnu stow utility.

They are designed to get a brand new machine installed with https://pop.system76.com/ into a production ready state. For me production means participating in digital platforms, writing code, and editing media. I run a FinTech business in Canada called Longtail Financial, provides data science and token engineering services. I work with partners at LTF to drive the business towards stability and success. This configuration is an optimized build for maximum effectiveness. To learn more about my workflow, follow me on twitter: https://twitter.com/ygg_anderson

The following is a screencapture of The Serious Configuration Framework running in a triple monitor setup. This build should be very easy to pick up for anyone who wishes to be a terminal oriented power user in linux.

To install:
-1. Install PopOS: https://pop.system76.com/

  1. Update System

    super+t to open a terminal.
    sudo apt update && sudo apt upgrade
    
  2. Install necessary utilities.

    sudo apt install stow fish tmux jq python-is-python3 bat ripgrep tree cmake alacritty delta pip  
    
  3. Set alacritty to default terminal

    super -> keyboard -> custom shortcut -> set super+t as `alacritty`
    
  4. Change default shell to fish

    chsh -s \`which fish\`  
    Logout and Login 
    
  5. Remap caps to control and escape with keyd: https://github.com/rvaiya/keyd

  6. Enable Wayland: https://linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-22-04-desktop

    set -Ux MOZ_ENABLE_WAYLAND 1 # For Firefox in Wayland
    
  7. Clone this repo

    git clone git@github.com:LinuxIsCool/configuration.git  
    
  8. Symlink into ~/.config using stow

    cd configuration  
    sh stow  
    
  9. Install fisher and fish plugins (will install nvm)

    curl -sL https://git.io/fisher | source && fisher install (cat ~/.config/fish/fish_plugins)
    
  10. Use nvm to install node

    nvm use latest
    
  11. Install g for Go: https://github.com/stefanmaric/g#usage

    curl -sSL https://git.io/g-install | sh -s
    g install latest
    
  12. Install blsd: https://github.com/junegunn/blsd

    bass "bash <(curl -fL https://raw.githubusercontent.com/junegunn/blsd/master/install)"
    
  13. Install Rust: https://www.rust-lang.org/tools/install

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    fish_add_path ~/.cargo/bin/
    
  14. Install Nvim using Bob

    cargo install bob-nvim
    bob complete fish > ~/.config/fish/completions/bob.fish
    fish_add_path ~/.local/share/bob/nvim-bin/
    bob use latest
    
  15. Install neovim plugins (will install fzf)

    nvim  
    :PlugInstall
    
  16. Make sure fzf is installed system wide

    cd ~/.config/nvim/plugged/fzf/  
    ./install
    
  17. Install autojump

    cd ~/.local/share/  
    git clone git@github.com:wting/autojump.git && cd autojump && python install.py
    
  18. Install virtualfish

    pip install virtualfish  
    fish_add_path ~/.local/bin/  
    vf install  
    
  19. Install python poetry: https://python-poetry.org/docs/#installation

    curl -sSL https://install.python-poetry.org | python3 -
    
  20. Install Tmux plugin manager

    git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm  
    tmux  
    prefix + I  
    
  21. Gnome tweaks (Optional)

    Setting key repeat and interval:

    gsettings set org.gnome.desktop.peripherals.keyboard delay 175
    gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 12
    

    Make launcher work when an app is open in full screen:

    gsettings set org.gnome.shell.extensions.pop-shell fullscreen-launcher true
    

    Make alt-tab workspace specific:

    gsettings set org.gnome.shell.app-switcher current-workspace-only true
    

    Add week numbers to calendar:

    gsettings set org.gnome.desktop.calendar show-weekdate true
    

    Add Weekday to panel date:

    gsettings set org.gnome.desktop.interface clock-show-weekday true
    

    Set background opacity for dash to dock:

    gsettings set org.gnome.shell.extensions.dash-to-dock background-opacity 0.4
    
  22. Install Gnome Extensions. Here is an example of some extensions that I use:

  1. Load Dconf to load gnome extension tweaks
More Coming  Soon...
  1. Load custom keybaord mappings and shortcuts
  • Hide all windows: super+d
  • Workspaces: super+w
  • Open Calendar: super+c
  • Open Gmail: super+g
  • Open Files: super+f
  • Open Browser: super+b
  • Open Terminal: super+t
More Coming  Soon...
  1. Install Apps and Programs through Pop Shop
  • OBS, Discord, Telegram, Lutris, Slack, Spotify, Clementine, QDirStat, Zoom
More Coming  Soon...

Notes

Use at your own risk. No warrenties. I practice human-in-the-loop computing. This workflow is designed by me to be most effective for me and my life and my intentions. It wasn't defined with mass adoption in mind. I encourage you to persue the discovery of computing interfaces on your personel journey as well. Please feel free to take inspiration from my workflow and open dialougue in collaboration.

Blessings 🌟💎🦋💖