Giter Site home page Giter Site logo

mydwm's Introduction

General Idea

This repo is ment as notes for myself as of how to setup my dwm rice screenshot

Base components

  • dwm
  • dwmblocks
  • st
  • patches as specified below

Git Management

Follow this idea, the basic idea is to have a branch for each patch and then merge them together. For this reason, I did start a new branch for each of my patches and later merged them within a mydwm branch. This later one also contains my personalized config for the keys.

St

Starting with st as this is rather simple

git clone https://git.suckless.org/st

Patches

  • alpha -> have transparency in the terminal
  • alpha_focus -> different transparency depending on focus
  • scrollback -> scrolling back in the terminal with SHIFT+PgUp/Down
  • scrollback_mouse -> scrolling in the terminal with the SHIFT+Mousewheel
  • font2 -> better rendering for some powerline fonts
  • ligatures -> nicer font with ligatures
  • nordtheme -> the basic colorscheme I use
  • moonfly -> potential alternative to nord

Get dwm

git clone https://git.suckless.org/dwm

Patches and reasons why

  • Vanitygaps -> eye candy for gaps and included cfacts for better resizing
  • status2d -> all patches to work without any extra tool / program for status
  • xrdb -> xrdb colors, also used within status2d
  • statusallmons -> statusbar on all monitors
  • alpha -> Transparency in bar
  • setstatus -> simpler syntax for setting the status bar
  • hide_vacant_tags -> show only tags with some client on them (not 1 2 3...9 all the time)
  • scratchpads -> Use scratchpad for journaling notes

Manually patching

Some(often)times a patch fails to be applicable straigth away. I had the issue with vanity following the deck version of cfacts e.g.. In this case, I did apply the steps manually for the files with error. Later the changes can be recorded to a .diff via

git diff HEAD^ > my_patch_file.diff

Patch to vanilla

dwmblocks

I use this as for my quick research, it was the only one really using separate refresh cycles for its components. So it seemed to be the best fit - dwmblocks

git clone [email protected]:ashish-yadav11/dwmblocks.git

Installation

-> Apply the patch to dwm -> Add dwmblocks & to the ~/.xinitrc

Modules

As opposed to Luke Smith's build, I will now keep the modules within ./dwmblocks/blocks.def but making use of Lukes build, and adding the functions as patches

Install note

  • Make sure to properly patch dwm for the update to work!
  • The individual scripts are part of the patch my_full_dwmblocks*...

pacpackages

The pacpackages needs something like a chron job to run pacman -Sy every now an then. I used the native are systemd timers. From within the dwmblocks/blocks.def directory do:

cp pacpackages.service /etc/systemd/system
cp pacpackages.timer /etc/systemd/system
systemctl enable pacpackages.timer
systemctl start pacpackages.timer

TODO

  • Clickable statusbar --> something with this

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.