Original: https://dwm.suckless.org/
This project based on dwm 6.4
See also: https://github.com/psqq/dwm-scripts
cd ~
git clone https://github.com/psqq/dwm
cd dwm
make build
make installInstall https://github.com/psqq/dwm-scripts.
Copy src/config.example.h to src/config.h and change DWM_SCRIPTS_DIR.
Add to .xinitrc:
exec ~/dwm-scripts/startdwmExample script that will run when dwm starts in ~/.dwm/autostart.sh (patch: https://dwm.suckless.org/patches/autostart/):
~/dwm-scripts/dwm-logs.sh
picom &
copyq &
flameshot &
if [ -x /usr/bin/nm-applet ] ; then
nm-applet --sm-disable &
fi
python ~/dwm-scripts/kb_layout.py set us &
~/dwm-scripts/set-random-wallpapers.sh ~/Wallpapers/WideWall &
python ~/dwm-scripts/status_bar.py loop $DISPLAY &
You can use Xephyr for test runs:
DWM_PATH=/abs/path/to/dwm/build/dwm startx -- /usr/bin/Xephyr -br -ac -noreset -screen 800x600 :1.xinitrc:
if ! [ -z ${DWM_PATH+x} ]; then
exec $DWM_PATH
exit
fi;
exec ~/dwm-scripts/startdwm~/dwm-scripts/startdwm:
#!/bin/bash
ssh-agent dwm 1>>~/.dwm.log 2>>~/.dwm.error.log.xinitrc:
exec ~/dwm-scripts/startdwmclangd used for lsp.
- Справка и способ получения справки по горячей клавише
- перенести весь код на C++
- когда открыто модальное/плавающее окно не перемещать фокус на движение мыши (copyq)
- добавить также хоткей, который обратно перемещает фокус на горячую клавишу
- окно в фулскрине не перемещается на другой монитор