arch bspwm - Forest0923/memo GitHub Wiki
Commands
Graphic driver
sudo pacman -S nvidia nvidia-utils nvidia-dkms
BSPWM
- Display server, window manager and etc.:
sudo pacman -S xorg xorg-xinit bspwm picom dmenu sxhkd nitrogen arandr
- Terminal emulator and brawser:
sudo pacman -S alacritty firefox
mkdir .config/bspwm
mkdir .config/sxhkd
cp /usr/share/doc/bspwm/examples/bspwmrc .config/bspwm/
cp /usr/share/doc/bspwm/examples/sxhkdrc .config/sxhkd/
- Change terminal emulator:
vim /.config/sxhkd/sxhkdrc
super + Return
- urxvt
+ alacritty
cp /etc/X11/xinit/xinitrc .xinitrc
vim .xinitrc
- twm &
- xclock -geometry 50x50-1+1 &
- xterm -geometry 80x50+494+51 &
- xterm -geometry 80x20+494+0 &
- exec xterm -geometry 80x66+0+0 -name login
+ setxkbmap jp &
+ picom -f &
+ exec bspwm
sudo vim /etc/xdg/picom.conf
- vsync = true;
+ #vsync = true;
startx
Customize
arandr # choose resolution and save as a shell script
chmod +x .screenlayout/dislay.sh
vim .xinitrc
setkbmap ch &
+ $HOME/.screenlayout/display.sh
picom -f &
- Restart window manager after leave bspwm (super + alt + q):
startx
vim .xinitrc
setkbmap ch &
$HOME/.screenlayout/display.sh
+ xsetroot -cursor_name left_ptr
picom -f &
- Nitrogen
- Preferences > Add > Pictures > OK > Apply
vim .xinitrc
+ setkbmap ch &
+ $HOME/.screenlayout/display.sh
+ nitrogen --restore &
+ xsetroot -cursor_name left_ptr
+ picom -f &