Skip to content
/ suckless Public

All the suckless essentials (mostly git modules).

License

Notifications You must be signed in to change notification settings

jnbdz/suckless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 git@gitlab.freedesktop.org: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  git@github.com:jnbdz/libxft.git (fetch)
origin  git@github.com:jnbdz/libxft.git (push)
upstream        git@gitlab.freedesktop.org: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:

About

All the suckless essentials (mostly git modules).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published