Skip to content
/ dwm Public

Just another build of dynamic window manager (dwm) for linux.

License

Notifications You must be signed in to change notification settings

whoisYoges/dwm

Repository files navigation

Table of content:

Preview_Image

Applied Patches

  • notitle: This patch hides your window's titles in dwm-bar.

  • restartsig: This patch allows user to restart dwm via Mod+CTRL+SHIFT+Q or by kill -HUP dwmpid.

  • swallow: This patch adds "window swallowing" to dwm. Example, when you open a gui application from terminal, it hides the terminal in background, leaving that application only without splitting terminal and that application; terminal can be accessed back after closing the gui application.

  • alwayscenter: This patch places all the floating windows in the centere of screen, like the center patch, but without a rule.

  • togglefloatingcenter: Default behaviour when togglefloating() is floating from top-left corner. This patch will allows you to toggle floating window client will be centered position.

  • barpadding: This patch adds variables for verticle and horizontal space between the statusbar and the edge of the screen.

  • fullgaps: This patch adds gaps between client windows.

  • hide vacant tags: This patch prevents dwm from drawing tags with no clients (i.e. vacant) on the bar.

  • rotatetags: This patch provides the ability to rotate the tagset left / right. It implements a new function rotatetags which modifies the current tagset.

  • attachaside: Make new clients get attached and focused in the stacking area instead of always becoming the new master. It's basically an attachabove modification.

  • scratchpads: This patch enables multiple scratchpads, each with one asigned window.

  • preserveonrestart: By default, when dwm is recompiled-restarted all clients will lose it's current tag and collapse to first tag. This patch preserves clients on old tags, however note that layout order is not preserved.

Features

  • applied kitty as default scratchpad terminal (Mod+x)
  • applied keepassxc as scratchpad password manager (Super+p)
  • applied swallow feature for kitty terminal
  • Removed clickability from the bar
  • Reconfigured Mod+button1 to move window and Mod+Shift+button1 to resize window. (Earlier both were done by Mod+button1)
  • Added Mod+r to move window and Mod+Shift+r to resize window using mouse/touchpad.
  • Mod+shift+Left and Mod+shift+Right to change the tags/worksapces.

Dependencies

Configuration

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

The configuration of dwm is done copying config.def.h to config.h, editing it and then (re)compiling the source code.

Installation

  1. Install all the required dependencies.

  2. Copy required fonts to fonts directory.

sudo cp -r ComicSansMS /usr/share/fonts/
sudo cp -r Font-Awesome /usr/share/fonts/
  1. Install dwm.
sudo make install

If you want my bar, checkout my my build of dwmblocks.

About

Just another build of dynamic window manager (dwm) for linux.

Topics

Resources

License

Stars

Watchers

Forks