I use dwm btw.

24年 10月 16日 Wednesday
121 words
1 minutes

DWM as Window Manager

I use dynamic window manager, DWM for short. and it's based on Xorg display server.

the config.h file can be found in the appropriate repository.

it contain the following changes from the default:

  • add keybinding for: brightness, sound volume, st with tmux by default, zoom-in and zoom-out with boomer, screenshot
  • fix floating window issue on gimp software

multi-monitor setup

I use xrandr to connect the display for dual monitor.

patch

so far, I only use one patch, awesomebar.

screen lock

I use slock and add systemd unit service to trigger it, /etc/systemd/system/lock-screen.service:

text
[Unit]
Description=Lock the screen on resume from suspend

[Service]
User=reyuki
Environment=DISPLAY=:0
ExecStart=/usr/bin/slock

[Install]
WantedBy=suspend.target systemd-hibernate.service

X window system initializer

the .xinitrc file contain common stuff like date, clock, battery and speaker percentage:

misc

I've created another post that discussing xmodmap part.

Title:I use dwm btw.

Author:ReYuki

Link:https://www.reyuki.site/posts/i-use-dwm-btw [copy]

Last updated:


This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. You are free to share and adapt it, as long as you give appropriate credit, don’t use it for commercial purposes, and distribute your contributions under the same license. Provided under license CC BY-NC-SA 4.0