Code Monkey home page Code Monkey logo

dotfiles-8's Introduction

My Configuration

XMonad

Hello there! These are my dotfiles, which are text-based configuration files for most of the programs I use on Linux. I have dabbled in a few different window managers, but my current daily driver - and hence the only one that is in any sort of working order - is XMonad. See my XMonad config README.md for more XMonad-specific information!

Setup on fresh install

  1. Dependencies:

    • Required: aur/nerd-fonts-ubuntu-mono
    • Optional: exa neofetch nvim I also use autorandr to automatically manage my monitors.
  2. Clone

    alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles-git/ --work-tree=$HOME'
    echo .dotfiles-git >> .gitignore
    git clone --bare https://github.com/quarkQuark/dotfiles.git $HOME/.dotfiles-git
    dotfiles checkout
    dotfiles config --local status.showUntrackedFiles no
  3. Vim-plug must be installed for the vim configuration to work properly Vim also needs:

    nnn
    fzy
    ripgrep
  4. Xmonad is installed via stack-static from the aur:

    cd ~/.config/xmonad
    stack install
    cd ~/.config/taffybar
    stack install
    stack install xmobar
    stack install status-notifier-item  # For taffybar's system tray

    My xmonad configuration also depends on the following packages:

    • System: network-manager nitrogen aur/picom-ibhagwan-git
    • Default programs: alacritty nvim qutebrowser redshift rofi spectacle
    • Bar applets: network-manager-applet udiskie pasystray
    • For xmobar: stalonetray xfce4-power-manager
    • For taffybar: lxqt-power-management
    • Other:
      dzen2  # For the keybinding cheatsheet
      xcape  # For rebinding C-Esc to super

Usage

  • Push local changes:
    dotfiles add <filepath>
    dotfiles commit -m "<message>"
    dotfiles push
  • Pull upstream changes:
    dotfiles pull

How this repository was set up

  1. Initialise local bare git repository .dotfiles-git

    mkdir $HOME/.dotfiles-git
    git init --bare $HOME/.dotfiles-git
    alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles-git/ --work-tree=$HOME'
    dotfiles config --local status.showUntrackedFiles no
  2. Add some config files to back up (.bashrc used as example)

    git add .bashrc
    git commit -m "Add .bashrc"
  3. Create new GitHub repository dotfiles

  4. Link the two

    dotfiles remote add origin https://github.com/quarkQuark/dotfiles.git
    dotfiles push -u origin master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.