1 2 3
if command -v register-window-manager >/dev/null 2>&1; then register-window-manager --add #WM# fi