Git Product home page Git Product logo

dotfiles's Introduction

my dotfiles

My personal dotfiles.

a preview Hyprland session with three terminal windows

Prerequisites

You need to make sure the following software is installed for the dotfiles to work properly:

The dotfiles also come with a Hyprland configuration, so you might want to install that as well.

Arch Linux

sudo pacman -S stow neovim zsh fzf tmux git ripgrep

To install Hyprland, you can use the AUR package hyprland-git. I recommend using an AUR helper like yay:

pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Then, install hyprland-git:

yay -S hyprland-git

You'll also need waybar, which is available in the official repositories:

sudo pacman -S waybar

Ubuntu

sudo apt install stow neovim zsh fzf tmux git ripgrep

First of all, my condolences for wanting to install Hyprland on Ubuntu. You'll need to manually build Hyprland from source, but there's a guide on the Hyprland wiki.

Waybar has a PPA, so you can install it like this:

sudo add-apt-repository ppa:nschloe/waybar && sudo apt update
sudo apt install waybar

NixOS

Add the following packages to your configuration.nix:

environment.systemPackages = with pkgs; [
  stow
  neovim
  zsh
  fzf
  tmux
  git
  ripgrep
];
programs.zsh.enable = true;

To enable Hyprland and install waybar, add the following to your configuration.nix:

programs.hyprland.enable = true;
environment.systemPackages = with pkgs; [
  waybar
];

MacOS

Ensure Homebrew is installed. zsh is already installed on MacOS, so you only need to install the other dependencies:

brew install stow neovim fzf tmux git ripgrep

Installation

Make sure you have the prerequisites installed and change your cwd to $HOME:

cd $HOME

Then, clone the repository:

git clone https://github.com/benpueschel/dotfiles.git && cd dotfiles

Now, you can use GNU Stow to symlink the dotfiles you want to use:

stow .

This will symlink all dotfiles to the parent directory (which is $HOME because we cloned the repo into $HOME/dotfiles).

If you want to put the dotfiles in a different directory, you can use stow like this:

stow -t $HOME .

The -t flag specifies the target directory, which must always be $HOME.

Now you can change your default shell to zsh and restart your shell:

chsh -s $(which zsh)
exec zsh

Aaand you're good to go! ๐Ÿš€

dotfiles's People

Contributors

benpueschel avatar

Watchers

 avatar

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.