Polytree tiling window manager
Go to file
Alex Kotov 4992ee09c4
Move border and gap code to separate module "helpers"
2021-11-16 06:20:19 +05:00
dwm Move border and gap code to separate module "helpers" 2021-11-16 06:20:19 +05:00
.gitignore Rename "dwm" to "PolytreeWM" 2021-11-15 00:00:57 +05:00
LICENSE Better format LICENSE (only format changed) 2021-11-15 00:14:36 +05:00
Makefile Move border and gap code to separate module "helpers" 2021-11-16 06:20:19 +05:00
README.md Apply "swallow" patch (dwm-swallow-20201211-61bb8b2.diff) 2021-11-16 04:29:37 +05:00
atoms.c Remove status and datetime modules 2021-11-14 23:05:35 +05:00
atoms.h Remove status and datetime modules 2021-11-14 23:05:35 +05:00
config.def.h Remove rule (floating) for "GIMP" 2021-11-16 04:51:10 +05:00
config.h My initial DWM changes 2021-11-12 13:42:58 +05:00
config.mk Apply "swallow" patch (dwm-swallow-20201211-61bb8b2.diff) 2021-11-16 04:29:37 +05:00
drw.c Revert "Improve speed of drw_text when provided with large strings" 2021-08-20 23:09:48 +02:00
drw.h ColBorder has been moved to the enum with ColFg and ColBg. 2018-03-14 17:46:48 +01:00
dwm.c Move border and gap code to separate module "helpers" 2021-11-16 06:20:19 +05:00
helpers.c Move border and gap code to separate module "helpers" 2021-11-16 06:20:19 +05:00
helpers.h Move border and gap code to separate module "helpers" 2021-11-16 06:20:19 +05:00
layouts.c Improve layout symbol functions 2021-11-15 04:27:30 +05:00
layouts.h Improve layout symbol functions 2021-11-15 04:27:30 +05:00
polytreewm.1 Replace "st" terminal with "ptterm" 2021-11-16 00:27:28 +05:00
polytreewm.desktop Use "tiling window manager" instead of "window manager" 2021-11-15 04:59:43 +05:00
polytreewm.png Rename "dwm" to "PolytreeWM" 2021-11-15 00:00:57 +05:00
settings.c Allow to remove borders and gaps for single fullscreen window 2021-11-16 06:05:22 +05:00
settings.h Allow to remove borders and gaps for single fullscreen window 2021-11-16 06:05:22 +05:00
spawn.c Add TODO 2021-11-16 03:06:26 +05:00
spawn.h Move command spawning to separate module 2021-11-15 01:14:42 +05:00
tags.c Add TODOs 2021-11-14 05:35:19 +05:00
tags.h Rename and move macto TAGMASK to TAGS_MASK 2021-11-14 06:33:01 +05:00
util.c die() on calloc failure 2016-11-05 11:34:52 +01:00
util.h import new drw from libsl and minor fixes. 2016-06-26 13:52:36 +02:00

README.md

PolytreeWM - tiling window manager

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

Requirements

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

Installation

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

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

make clean install

Running

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

exec polytreewm

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

DISPLAY=foo.bar:1 exec polytreewm

(This will start PolytreeWM 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 polytreewm

Configuration

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

Credits

PolytreeWM is a fork of dwm.

Applied patches

  • alwayscenter
  • fakefullscreen
  • focusonclick
  • hide_vacant_tags
  • movestack
  • nametag
  • nmaxmaster
  • pertag
  • resetnmaster
  • smartborders
  • statusallmons
  • swallow
  • systray

Interesting patches (not applied)

  • anybar
  • awesomebar
  • attachdirection
  • bar_height
  • bartabgroups
  • colorbar
  • current_desktop
  • ewmhtags
  • fancybar
  • focusmaster
  • focusmonmouse
  • holdbar
  • rotatestack
  • stacker