- Add support for brightness buttons to control screen brightness - Update readme with link to acpilight
80 lines
2.8 KiB
Markdown
80 lines
2.8 KiB
Markdown
# Sravan's dwm - dynamic window manager
|
|
|
|
[dwm](https://dwm.suckless.org/) is an extremely fast, small, and dynamic window manager for X.
|
|
This is Sravan's fork of dwm with patches and custom modifications.
|
|
|
|
## dwm Information
|
|
|
|
### 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
|
|
|
|
### 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.
|
|
|
|
## Personal Modifications
|
|
|
|
### Patches
|
|
|
|
* [autostart](https://dwm.suckless.org/patches/autostart/)
|
|
* [centeredmaster](https://dwm.suckless.org/patches/centeredmaster/)
|
|
* [combo](https://dwm.suckless.org/patches/combo/)
|
|
* [cyclelayouts](https://dwm.suckless.org/patches/cyclelayouts/)
|
|
* [gridmode](https://dwm.suckless.org/patches/gridmode/)
|
|
* [movestack](https://dwm.suckless.org/patches/movestack/)
|
|
* [restartsig](https://dwm.suckless.org/patches/restartsig/)
|
|
* [ru_gaps](https://dwm.suckless.org/patches/ru_gaps/)
|
|
* [systray](https://dwm.suckless.org/patches/systray/)
|
|
|
|
### Modifications
|
|
|
|
* Change mod key to super key (windows key)
|
|
* Change terminal from st to alacritty
|
|
* Change colors to follow [Dracula](https://draculatheme.com) theme
|
|
* Increase border to 3 pixels
|
|
* Set default gap size to 10 pixels
|
|
* Change tags to be [Font Awesome](https://fontawesome.com) icons
|
|
* Run programs and processes on autostart
|
|
* [Pulse Audio Volume Control](https://gist.github.com/palopezv/efd34059af6126ad970940bcc6a90f2e)
|
|
* Media Play/Pause, Prev, and Next Keybindings via [Playerctl](https://github.com/altdesktop/playerctl)
|
|
* Arch Community Repo: [playerctl](https://www.archlinux.org/packages/community/x86_64/playerctl/)
|
|
* Use [light-locker](https://github.com/the-cavalry/light-locker) to lock screen with [LightDM](https://github.com/canonical/lightdm)
|
|
* Arch Community Repo: [lightdm](https://www.archlinux.org/packages/extra/x86_64/lightdm/)
|
|
* Arch Community Repo: [light-locker](https://www.archlinux.org/packages/community/x86_64/light-locker/)
|
|
* Brightness Increase and Decrease Keybindings via [acpilight](https://gitlab.com/wavexx/acpilight)
|
|
* Arch Community Repo: [acpilight](https://www.archlinux.org/packages/community/any/acpilight/)
|