Giter VIP home page Giter VIP logo

dotfiles's Introduction

dotfiles

Personal dotfiles for macOS and Manjaro.

Overview

These are configuration files, scripts, lists of packages that I have available for two types of systems: macOS and Manjaro.

  • Window Manager: Sway (Manjaro) and Yabai (macOS)
  • Terminal emulator: Alacritty
  • Terminal multiplexer: tmux
  • Shell: Zsh
  • Editor: Neovim
  • Browser: Firefox

Installation

TODO: use my domain agian for the install link.

curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/knowler/dotfiles/main/.local/bin/install-dotfiles | bash

Generating Nerd Font for Dank Mono (used in Alacritty)

I still need to write out the instructions for this. For now, if you don't have the Nerd Font, then run apply the patch and just don't commit the change:

dots patch no-nerd-font

Using and maintaining

In order to make using and maintaining these dotfiles a breeze, I have setup a command called dots which both wraps Git as well as provides some helpful custom commands. The command works from any directory. The following sections will cover what the custom commands do. You can run dots with -h, --help, or help to see the usage at anytime.

Quickly edit a tracked dotfile

Optionally enter the name of the file. If specific enough, the file will just open in the editor.

dots open <file?>

Installing new packages

To install new packages for either system run:

dots install

Upgrading packages

To upgrade all packages for either system run:

dots upgrade

To upgrade specified packages for either system run:

dots upgrade [packages]

Dumping package lists

To dump recent packages you might have installed to package list use:

dots dump

Ideally, this would be automated when installing packages and I've seen a systemctl hook to automate this which I will be exploring in the near future. I guess a Git hook could work well for the installation part.

Apply a patch

Predefined patches live in the ~/.patches directory. You can use the following command to open a fuzzy chooser for selecting which patches you want to apply:

dots patch

Open the GitHub repo in a browser window

dots web

dotfiles's People

Contributors

knowler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dotfiles's Issues

Windows support

  • Using WinGet? Or Scoop?
  • WSL focused? If so, maybe just make installer Ubuntu friendly?

Explore persist sessions and session specific configs in Tmux

I have some project specific Tmux bindings I’d like to make. For example,

  • Open Laravel Tinker (via Lando) in a pane
  • Running tests in a pane

I already have shortcuts for creating the panes with a command, but additional shortcuts would be helpful since I use them often.

Add screencapture skhd mode

Modes in skhd really fit screen capturing workflows and I believe I can make a more intuitive experience for a number of applications.

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.