Git Product home page Git Product logo

dwm's Introduction

Description

This repository is a fork of the Suckless dwm (dynamic window manager) project and was created to manage patches. To avoid any conflicts with the original master branch from dwm, this repository does not contain a master branch. Instead, it has a main branch which contains a PKGBUILD file that makes it easy to install a patched version of dwm in Arch Linux. All patches are stored seperately in branches with names that start with "patch-".

Getting Started

To get started, clone this repository and rename the default origin remote.

git clone [email protected]:serg-io/dwm.git
cd dwm
git remote rename origin github

Now add a remote for the original suckless repository.

git remote add suckless https://git.suckless.org/dwm

Installation

To install a patched version of dwm in Arch Linux first make sure you have all the latest changes from the suckless repository.

git fetch suckless

Create a build branch using suckless/master as a starting point and merge the github/main branch.

git branch --no-track build suckless/master
git checkout build
git merge github/main

If you already have a build branch reset its HEAD and merge github/main.

git checkout build
git reset --hard suckless/master
git merge github/main

Now that you have a build branch with the files from github/main you can use makepkg to build and install dwm.

makepkg -sci

Before dwm is built, the PKGBUILD script will merge all the remote branches that start with "patch-".

Patch Branches

If you fork this repo, and use your own forked repo instead of this one, you'll be able to create your own patch branches. To create a patch branch, you must first fetch the most recent changes from suckeless.

git fetch suckless

Then create a new branch using suckless/master as the starting point and push it to your repo. Make sure the name of the branch starts with "patch-". The noborder patch will be used for this example.

git branch --no-track patch-noborder suckless/master
git push -u github patch-noborder
git checkout patch-noborder

Download and apply the required patches. In this case, dwm-noborder-6.2.diff is the only required patch file.

git apply dwm-noborder-6.2.diff

Commit and push your changes.

git add .
git commit -m "dwm-noborder"
git push

You can now follow the installation instructions explained above and your patch branch will be automatically merged during the installation.

dwm's People

Contributors

garbeam avatar hiltjo avatar cls avatar anydot avatar schachmat avatar cdown avatar ericpruitt avatar klemensn avatar serg-io avatar shad0w73 avatar dcousens avatar ianremmler avatar osandov avatar bakkeby avatar

Watchers

James Cloos 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.