My ricing, dotfiles, tutorial and dwm build
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
SnowCode a91b966ece Improving README 3 weeks ago
.fonts Adding Iosevka font 4 weeks ago
bin Changing the command to redirect screenshots to ~/Pictures 4 weeks ago
dwm Making the border thicker 2 months ago
.alacritty.yml Changing the font to Iosevska 4 weeks ago
.bashrc Organizing stuff 2 months ago
.gitignore Adding the minecraft indicator. It says how many players are online on a particular server. 2 months ago
.xinitrc Renaming compton to picom 4 weeks ago
README.md Improving README 3 weeks ago
mcping.py Adding the minecraft indicator. It says how many players are online on a particular server. 2 months ago
picom.conf Adding picom file 2 months ago
screenshot.png Adding screenshot to the repo 2 months ago
wallhaven-q6jvjl.jpg Adding wallpaper 2 months ago

README.md

My ricing (dot files and dwm)

my screenshot

dwm is an extremely fast, small, and dynamic window manager for X. And this is my configuration of it.

Features of my build

  • Support for brightness and volume keys
  • Support for AZERTY keyboards (for the tags)
  • Uses SUPER key (A.K.A Windows key) instead of ALT key
  • Uses only 3 tags, who needs more?
  • Doesn't have the weird "Firefox in X tag" thingys
  • Decent status bar (no emoji for now, but that will come)
  • Other fonts
  • Gaps and shortcuts for controlling them (vanitygaps patch)
  • Nice wallpaper and transparent terminal
  • Nice colorscheme for terminal
  • Underscore as text cursor instead of the ugly box

Requirements

This is the list of used software for this project (on Debian, but should be pretty similar on Arch)

I had to re-compile libxft with the bgra patch myself to make colored emojis work properly (on Debian, if you use Arch, just install libxft-bgra)

  1. Install the tools to build dwm (gcc and build-essential in this case)
sudo apt install make gcc build-essential
  1. Install Xlib headers required by dwm
sudo apt install xorg libxinerama-dev libx11-dev libxft-dev 
  1. Install dependencies for audio, brightness + dmenu
sudo apt install suckless-tools brightnessctl pulseaudio
  1. For more graphic and aestetic changes, install feh for wallpaper support and enable transparency for windows with picom (or compton)
sudo apt install feh picom
  1. Install a terminal (alacritty) (actually installing cargo, dependencies and then building it with cargo)
sudo apt install cargo libxkbcommon-dev
cargo install alacritty
  1. (optional) Show off on r/unixporn. cava for audio visualizer, tty-clock for the nice clock, neofetch for the informations and scrot for screenshooting
sudo apt install cava tty-clock neofetch scrot
  1. Install libxft-bgra (here are the instructions on debian):
# Install dependencies
sudo apt install libfreetype-dev fontconfig libxext-dev libxrender-dev xutils-dev dh-autoreconf git make

# Download and patch repository
git clone https://gitlab.freedesktop.org/xorg/lib/libxft.git
wget https://gitlab.freedesktop.org/xorg/lib/libxft/merge_requests/1.patch
cd libxft/
patch -p1 < ../1.patch

# Compile and install
sh autogen.sh --sysconfdir=/etc --prefix=/usr --mandir=/usr/share/man
make
sudo make install

# Replace old libxft by the new patched version
mv /usr/lib/libXft* /usr/lib/x86_64*

Installation

WARNING, you WILL have to modify the commands in .xinitrc file. Some of those depennds on your hardware. Also note you can replace "cp" commands by "ln -s" commands to kepp all the files in one place.

  1. Download the repository and compile dwm
git clone https://codeberg.org/SnowCode/rice
cd dwm
sudo make clean install
  1. Add the xinit script, you need to change this file to fit your computer and your preferences
cp .xinitrc ~/.xinitrc
  1. Add the bashrc script, the alias probably won't fit your needs
cp .bashrc ~/.bashrc
source ~/.bashrc
  1. Add all the fonts to your font directory
mkdir ~/.fonts
cp .fonts/* ~/.fonts
  1. Enable the alacritty config, another possible location is ~/.config/alacritty/alacritty.yml
cp .alacritty.yml ~/.alacritty.yml
  1. Add the binaries to /usr/bin, make sure to check for conflicts in filenames!
sudo cp -iv bin/* /usr/bin
  1. Exit and login by starting your .xinitrc script
pkill xorg sleep
startx