Giter VIP home page Giter VIP logo

dwm's Introduction

dwm - dynamic window manager

dwm is an extremely fast, small, and dynamic window manager for X.

What's in this fork?

This is what you get (Transparent bar, No need for OpenGL): Screenshot

My fork (aario) contains these features:

  • based on version 6.1(20151109)
  • Blur Effect A fast and nice blur effect. Does not need OpenGL and is all CPU based.
  • Bar is hybrid. On mouse hover more details will be diplayed.
  • Status text can be delimited with '$' character. In that case the second part is displayed when hover.
  • Works only with my fork of dmenu
  • Systray patch applied
  • Status colors patch applied
  • Per-window keyboard layout patch applied
  • Standard media keys supported (Volume Up/Down, Play/Pause, etc.)
  • All shortcuts are now based on Win key (instead of Alt or Shift+Alt)
  • Added multi columns layout (dwm-columns patch)
  • Mod+L keys launch slock
  • Mod+W keys launch dmenu_win (You have to install it from github.com/aario/dmenu along with wmctrl)
  • Mod+M keys launch dmenu_media (Media player controller menu)
  • Mod+C keys launch dmenu_custom which displays of a list of custom scripts located in $HOME/.dwm/custom_scripts
  • Mod+V keys launch dmenu_vol which adjusts PCM output using alsamixer
  • Mod+B keys launch dmenu_bl which adjusts LCD brightness using xbrightness
  • Mod+X keys toggles bar
  • Mod+H keys launch dmenu_home which browses through home folder and opens files
  • Mod+Esc keys launch dmenu_apps which browses through applications menu and launches apps
  • Mod+R keys restarts the window manager
  • Meta key launches dmenu_all
  • Autostart all commands in ~/.dwm/autostart_blocking.sh and ~/.dwm/autostart.sh
  • You can also close windows by Alt+F4
  • F1, F2, ... function keys switch between different layours (tiling, floating, etc)

Requirements

In order to build dwm you need the Xlib header files.

Installation

Edit config.mk to match your local setup (dwm is installed into the /usr/local namespace by default).

Afterwards enter the following command to build and install dwm (if necessary as root):

make clean install

If you are going to use the default bluegray color scheme it is highly recommended to also install the bluegray files shipped in the dextra package.

Running dwm

Add the following line to your .xinitrc to start dwm using startx:

exec dwm

In order to connect dwm to a specific display, make sure that the DISPLAY environment variable is set correctly, e.g.:

DISPLAY=foo.bar:1 exec dwm

(This will start dwm on display :1 of the host foo.bar.)

In order to display status info in the bar, you can do something like this in your .xinitrc:

while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
do
	sleep 1
done &
exec dwm

Configuration

The configuration of dwm is done by creating a custom config.h and (re)compiling the source code.

THE STACK-BLUR PART OF THE CODE IS BASED ON GREATE WORK BY:

Mario Klingemann [email protected]

Link to the original work:

The original source code of stack-blur:

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.