Git Product home page Git Product logo

suckless's Introduction

suckless

All the suckless essentials (mostly git modules).

Install

sudo apt-get install autoconf build-essential xutils-dev libxft-dev libxft2 libxinerama-dev libx11-xcb-dev libxcb-res0-dev fonts-linuxlibertine fonts-inconsolata fonts-symbola ttf-ancient-fonts-symbola fonts-noto

Install the needed fonts

# 1. Download the latest version
wget https://github.com/eosrei/twemoji-color-font/releases/download/v13.1.0/TwitterColorEmoji-SVGinOT-Linux-13.1.0.tar.gz
# 2. Uncompress the file
tar zxf TwitterColorEmoji-SVGinOT-Linux-13.1.0.tar.gz
# 3. Run the installer
cd TwitterColorEmoji-SVGinOT-Linux-13.1.0
./install.sh

Source: https://github.com/eosrei/twemoji-color-font

# 1. Download the latest version
wget https://github.com/eosrei/emojione-color-font/releases/download/v1.4/EmojiOneColor-SVGinOT-Linux-1.4.tar.gz
# 2. Uncompress the file
tar zxf EmojiOneColor-SVGinOT-Linux-1.4.tar.gz
# 3. Run the installer
cd EmojiOneColor-SVGinOT-Linux-1.4
./install.sh

You might also need: https://raw.githubusercontent.com/LukeSmithxyz/voidrice/master/.config/fontconfig/fonts.conf

Reload fonts in Debian

dpkg-reconfigure fontconfig fontconfig-config

Install on Debian distros (Kali, Debian, Ubuntu, etc)

For Debian based Linux distros you need to install libxft-bgra for the emojis to show.

For win-kex (Kali in Windows WSL)

After you install dwn you will need to modify: /usr/lib/win-kex/xstartup

Here is an article I wrote on the subject: How to change Window Manager (GUI) for win-kex

Install libxft-bgra

You might need to install it outside of the package manager. If the package manager has libxft-dev libxft2 than you are golden!

You need to install libxft-bgra before st and dwm. If you want the emojs.

cd ./lib/libxft
# Make sure it is the right branch --> libXft-2.3.4-debian
git branch -a
# Install
sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man

Install dwm

Inside the dwm source:

sudo make install

Install st

Same as dwm.

Git

Add module

git submodule add [url]
git add [...]

Change branch for the module

git checkout -t [branch]
git add [add again the dir of the module]
git commit [...]
git push

Don't forget to update where you have clone the repo:

git submodule update --recursive

Add upstream

If you are working on the lib libxft-bgra you need to do this step.

git remote add upstream [email protected]:xorg/lib/libxft.git 
git remote set-url --push upstream DISABLE

Then to verify that evrything was added correctly for the upstream: git remote -v

This is what you should see:

origin  [email protected]:jnbdz/libxft.git (fetch)
origin  [email protected]:jnbdz/libxft.git (push)
upstream        [email protected]:xorg/lib/libxft.git (fetch)
upstream        DISABLE (push)

To pull changes from the upstream (verify that you are in the right branch first):

git fetch upstream
git rebase upstream/master

Sources:

suckless's People

Contributors

jnbdz avatar

Watchers

 avatar  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.